Lucene search
K

backupDB() v1.2.7a (onlyDB) Remote XSS Vulnerability

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

backupDB() v1.2.7a (onlyDB) Remote XSS Vulnerability. PHP script for MySQL backup is vulnerable to remote cross-site scripting attac

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2012-2911
16 May 201200:00
circl
CVE
CVE-2012-2911
21 May 201218:00
cve
Cvelist
CVE-2012-2911
21 May 201218:00
cvelist
EUVD
EUVD-2012-2891
7 Oct 202500:30
euvd
NVD
CVE-2012-2911
21 May 201218:55
nvd
Prion
Cross site scripting
21 May 201218:55
prion
<html><body><p>backupDB() v1.2.7a (onlyDB) Remote XSS Vulnerability


Vendor: SiliSoftware
Product web page: http://www.silisoftware.com
Affected version: 1.2.7a-201108021626

Summary: backupDB() is a PHP script that backs up MySQL tables and
databases to a file (uncompressed, gzip, bzip2) for easy daily backup.

Desc: backupDB 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 'onlyDB' parameter of the
'backupDB.php' script. 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-5089
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2012-5089.php



15.05.2012

--

GET [SOME_CMS]/backupDB/backupDB.php?onlyDB="&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