ITAS Team found out a Cross-Site Scripting vulnerability in Fork CMS
Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted web sites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user. Flaws that allow these attacks to succeed are quite widespread and occur anywhere a web application uses input from a user within the output it generates without validating or encoding it.
An attacker can use this vulnerability to send a malicious script to an unsuspecting user. The end user’s browser has no way to know that the script should not be trusted, and will execute the script. Because it thinks the script came from a trusted source, the malicious script can access any cookies, session tokens, or other sensitive information retained by the browser and used with that site. These scripts can even rewrite the content of the HTML page.
The Fork CMS got user’s input data without properly sanitizing the request from the parameter q_widget, so the Reflected Cross-Site Scripting occurred.
Vulnerability information:
– Vulnerability: Reflected Cross-Site Scripting
– Vendor: http://www.fork-cms.com
– Download link: http://www.fork-cms.com/blog/detail/fork-3.8.4-released
– Affected version: Version Fork 3.8.3.
– Fix version: Version Fork 3.8.4
– CVE ID: CVE-2014-9470
– Author: Le Ngoc Phi – phi.n.le@itas.vn and ITAS Team
Information disclosure:
– 12/25/2014: Detected vulnerability
– 12/25/2014: Inform the vendor
– 12/26/2014: Vendor confirmed
– 12/26/2014: Vendor releases patch
– 12/26/2014: ITAS Team publishes information
Reference:
– https://github.com/forkcms/forkcms/issues/1018
– https://github.com/forkcms/forkcms/commit/4a7814762adf4f56f932d95146c7e4126d872114