Skip to main content
January 13, 2014
Question

Hacker adding links to CF files

  • January 13, 2014
  • 1 reply
  • 758 views

Hi,

Someone is adding links to my CFM files. I am informed of this almost immediately and remove the offending code. The code is usually to knockoff brand stuff such as Michael Kors and Loius Vuitton.

I am on CF 8.1 and Redhat 5.8 versions with latest security patches applied to both. This has been going on for over 3 years now and it is becoming very annoying. I would like a hint or 2 as to how they are accessing my files?

boo1949

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
January 16, 2014

Sounds like a case of Cross-Site Scripting (XSS). Carrying someone around on your back for 3 years is scandalous.

You should have sorted this out when you first disvovered it. Parasites persist only if you let them.

So, squash the pest now, once and for all. Our own Jason Dean (12Robots) gives tips on how to tackle XSS in ColdFusion. I could also find the following useful information on the web:

Security Advisory for ColdFusion:

http://www.adobe.com/support/security/advisories/apsa13-01.html

CVE report on ColdFusion Vulnerabilities (see, in particular, 'Code Execution' and 'XSS'):

http://www.cvedetails.com/product/8739/Adobe-Coldfusion.html?vendor_id=53

Code injection by hackers via coldfusion:

http://forums.adobe.com/thread/438275

Tools:

http://portcullis.riaforge.org/

http://qpScanner.riaforge.org/

January 16, 2014

Hi BKBK,

Obviously if I had any idea how they were doing it I would stop them, but I

am not a CF person and I only manage the Linux server that hosts the web

sites.

Thanks for the links I will have a good read.

Steve

BKBK
Community Expert
Community Expert
January 19, 2014

Hi Steve,

Contact the owner of the site about this. Most of the security loopholes mentioned can be closed by a simple modification of the code. For example, checking user-input from forms and from the URL will ensure very good security.