`Title: Silurus Classifieds XSS Vulnerability
Software : Silurus Classifieds
Software Version : v2.0
Vendor: http://snowhall.com/slides/silurus
Vulnerability Published : 2016-07-25
Author:zhiwei_jiang
Email:[email protected]
Impact : Medium(CVSS2 Base : 4.3, AV:N/AC:M/Au:N/C:N/I:P/A:N)
Bug Description :
Silurus is a professionally developed Open Source PHP Classifieds script that was built for you. Whether you are running classifieds for autos, motorcycles, bicycles, rvs, guns, horses, or general merchandise, our product is the right package for you. It has template system and no limit to usage with free for any changes.
Silurus Classifieds (ver v2.0) The server reads data directly from the HTTP request and reflects it back in the HTTP response. Reflected XSS exploits occur when an attacker causes a victim to supply dangerous content to a vulnerable web application, which is then reflected back to the victim and executed by the web browser. The most common mechanism for delivering malicious content is to include it as a parameter in a URL that is posted publicly or e-mailed directly to the victim. URLs constructed in this manner constitute the core of many phishing schemes, whereby an attacker convinces a victim to visit a URL that refers to a vulnerable site. After the site reflects the attacker's content back to the victim, the content is executed by the victim's browser.
PoC:
Login DEMO
http://silurus.snowhall.com/admin/
Once logged in
POST:
http://silurus.snowhall.com/admin/test_mail.php
send=1&email=test%40email.tst%27%22%28%29%26%25%3C%3E%3CScRiPt%3Ealert%28%2Fxss%2F%29%3C%2FScRiPt%3E&go=Check+email+settings
Solution :
Using such encode functions as htmlencode() or filtering those certain symbols regarding JavaScript as well as Html.
`
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