`Title: RunCMS XSS Vulnerability via User Agent
Vendor: RunCMS
Product: RunCMS
Tested Version: 2.1
Threat Class: XSS
Severity: Medium
Remote: yes
Local: no
Discovered By: Andrei Rimsa Alvares
===== Description =====
RunCMS is prone to a XSS vulnerability by mangling the user-agent field on a http request to a script within the forum module.
----- modules/forum/check.php -----
01: <?php
...
10: echo "BROWSER: ".$_SERVER['HTTP_USER_AGENT'];
----- modules/forum/check.php -----
===== Impact =====
Malicious java script code can be executed in the context of the affected web site.
===== Proof of Concept =====
wget --user-agent="<script>window.alert('XSS');</script>" http://target/modules/forum/check.php
===== Workaround =====
Remove the affected file form the system: modules/forum/check.php.
===== Disclosure Timeline =====
June, 16 2010 - Vendor notification.
June, 17 2010 - Vendor response confirming the bug.
July, 07 2010 - Public disclosure.
===== References =====
http://www.runcms.org
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation