vendor:
PHPAds
by:
Danny Moules
7.5
CVSS
HIGH
Cross-Site Scripting (XSS)
79
CWE
Product Name: PHPAds
Affected Version From: 2
Affected Version To: 2
Patch Exists: Yes
Related CWE: N/A
CPE: 2.3:a:blondish.net:phpads:2.0
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2009
PHPAds 2.0 XSS Vulnerability
Due to insufficient validation of client-side data, an attacker can inject script directly into the code displayed as an advertisement to users. When making a new advertisement (or editing an old one), an attacker can fill the Ad Name field with malicious code and submit the form as usual. Whenever that particular ad is viewed, the script is executed.
Mitigation:
Validate all user-supplied input to prevent malicious code injection.