Lucene search
K

phpThumb() v1.7.11 (dir & title) Cross-Site Scripting Vulnerability

🗓️ 16 May 2012 00:00:00Reported by Gjoko KrsticType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 54 Views

phpThumb() v1.7.11 Cross-Site Scripting Vulnerability in dir & title paramete

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2012-2910
16 May 201200:00
circl
CVE
CVE-2012-2910
21 May 201218:00
cve
Cvelist
CVE-2012-2910
21 May 201218:00
cvelist
EUVD
EUVD-2012-2890
7 Oct 202500:30
euvd
NVD
CVE-2012-2910
21 May 201218:55
nvd
Prion
Cross site scripting
21 May 201218:55
prion
<html><body><p>phpThumb() v1.7.11 (dir &amp; title) Cross-Site Scripting Vulnerability


Vendor: SiliSoftware
Product web page: http://www.silisoftware.com
Affected version: 1.7.11-201108081537

Summary: phpThumb() uses the GD library to create thumbnails from
images (JPEG, PNG, GIF, BMP, etc) on the fly. The output size is
configurable (can be larger or smaller than the source), and the
source may be the entire image or only a portion of the original
image.

Desc: phpThumb is prone to a cross-site scripting vulnerability.
This issue is due to a failure in the application to properly
sanitize user-supplied input to the 'dir' and the 'title' parameter
of the 'phpThumb.demo.random.php' and 'phpThumb.demo.showpic.php'
scripts. Attackers can exploit this weakness to execute arbitrary
HTML and script code in a user's browser session.

Tested on: Microsoft Windows XP Professional SP3 (EN)
           Apache 2.2.21
           PHP 5.3.8
           MySQL 5.5.20


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                            @zeroscience


Advisory ID: ZSL-2012-5088
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2012-5088.php



15.05.2012

--

GET [SOME_CMS]/phpthumb/demo/phpThumb.demo.random.php?dir="&gt;<script>alert(document.cookie);</script> HTTP/1.1
GET [SOME_CMS]/phpthumb/demo/phpThumb.demo.showpic.php?title="&gt;<script>alert(document.cookie);</script> HTTP/1.1
</p></body></html>

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

16 May 2012 00:00Current
6Medium risk
Vulners AI Score6
CVSS 24.3
EPSS0.05778
54