Lucene search
K

Your Own Classifieds Cross Site Scripting

🗓️ 08 Mar 2013 00:00:00Reported by Rafay BalochType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 23 Views

Your Own Classifieds Cross Site Scripting vulnerability in http://www.yourownclassifieds.com script allows non persistent XSS with unvalidated input for text box. Discovered by Rafay Baloch. POC at http://www.gumtreeclone.com/cat-search/for-sales-2/XSS and http://www.gumtreeclone.com/cat-search/for-sales-2/%22%3E%3Cimg%20src=x%20onerror=prompt%280%29;%3E. Fix requires html encoding and sanitization for all input throughout the application.

Code
`*Vendor:  
*  
http://www.yourownclassifieds.com  
  
*Description:  
*  
Your own classified software is a script that helps you creates your own  
store.  
  
*Discovered by: Rafay Baloch*  
  
Vulnerability: Non persistent XSS  
  
The script fails to sanitize the input that is entered into the text box  
resulting into a XSS.  
  
*POC*:  
http://www.gumtreeclone.com/cat-search/for-sales-2/XSS  
http://www.gumtreeclone.com/cat-search/for-sales-2/%22%3E%3Cimg%20src=x%20onerror=prompt%280%29;%3E  
  
*Fix*:  
  
- All input generated at any point inside the application should be html  
encoded and filtered/sanitized before it's  
copied to the application response.  
  
- All html special characters should be replaced with it's corresponding  
html entities.  
  
--   
Warm Regards,  
Rafay Baloch  
  
http://rafayhackingarticles.net  
http://techlotips.com  
`

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