VULNERABILITIES / FIXES - May 02, 2012
by Carol~
- 5/2/12 4:13 AM
PHP-pastebin Paste Title Script Insertion Vulnerability
Release Date : 2012-05-02
Criticality level : Moderately critical
Impact : Cross Site Scripting
Where : From remote
Solution Status :Unpatched
Software: PHP-pastebin 2.x
Description:
A vulnerability has been discovered in PHP-pastebin, which can be exploited by malicious people to conduct script insertion attacks.
Input passed via the "title" POST parameter to index.php when creating a paste is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious data is being viewed.
The vulnerability is confirmed in version 2.1. Other versions may also be affected.
Solution:
Edit the source code to ensure that input is properly sanitised.
Provided and/or discovered by:
L3br1z
Original Advisory:
http://packetstormsecurity.org/files/112375/PHP-Pastebin-Cross-Site-Scripting.html
http://secunia.com/advisories/49025/

Moderator
CNET Staff
Samsung Staff
Dell Staff