Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Plugging a CF and IIS Security Hole

Status
Not open for further replies.

DarkMan

Programmer
Apr 13, 1998
222
US
Thanks to member Nero for this tip:

There is a hole in IIS that will allow people to see your ColdFusion source code by typing in a url like:
[ignore]
[/ignore]

If you're running CF, try it. You may be alarmed at what you see....

Anyways, there is a hotfix for this at:

[sig]<p>Doug Trocino<br><a href=mailto:dtrocino@tecumsehgroup.com>dtrocino@tecumsehgroup.com</a><br><a href= Forums</a><br>Technical Director<br>
Tecumseh Group, Inc.<br>
Sponsors of Tek-Tips Forums<br>
[/sig]
 
Oh shoot... ;-(

That doesnt really give the exact code here but that really give too much...

I'll have to tell my server admin to fix this...

Thx a lot for the information,
Chris [sig][/sig]
 
If you type in the url to your .cfm page and you see a bunch of garble, plus your CF variable names and such, you need to download the HotFix. If you try it and get an error message saying &quot;Page Cannot Be Displayed&quot;, the HotFix is already in place...;-)

Good Luck,
Doug [sig]<p>Doug Trocino<br><a href=mailto:dtrocino@tecumsehgroup.com>dtrocino@tecumsehgroup.com</a><br><a href= Forums</a><br>Technical Director<br>
Tecumseh Group, Inc.<br>
Sponsors of Tek-Tips Forums<br>
[/sig]
 
This reminds me of some basic security tips:

[ul][li]If you dont need it, remove it - ie if you have no ASP-scripts on your server then remove the corresponding application mappings, likewise for the htr-mapping[/li]

[li]Encrypt your CF-Templates. In \CFUSION\BIN is the cfencode.exe-utility. Using it an intruder will only see some garbage - never your source code[/li][/ul]

..my 2c

Thomas Klaeger
tkl@telenet.ch [sig][/sig]
 
If you use the cfencode.exe utility can you still edit that code or do you have to work from an orginal copy? [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top