Pluck 4.7 Multiple Local File Include and File Disclosure Vulnerabilities

ID EDB-ID:36129
Type exploitdb
Reporter Bl4k3
Modified 2011-09-08T00:00:00


Pluck 4.7 Multiple Local File Include and File Disclosure Vulnerabilities. Webapps exploit for php platform


Pluck is prone to multiple file-include and a file-disclosure vulnerabilities because it fails to properly sanitize user-supplied input.

An attacker can exploit the local file-include vulnerabilities using directory-traversal strings to view and execute local files within the context of the webserver process. Information harvested may aid in further attacks.

An attacker can exploit local file-disclosure vulnerability to obtain potentially sensitive information from local files on computers running the vulnerable application. This may aid in further attacks.

Pluck 4.7 is vulnerable; other versions may also be affected. 

1-File Inclusion:
if (file_exists(ALBUMS_DIR.'/'.$_GET['album'].'.php')) {
function albums_pages_site() {
2-File Inclusion
include (ALBUMS_DIR.'/'.$album['seoname'].'.php');
foreach ($albums as $album) {
$albums  = albums_get_albums();
3-File Disclosure
echo readfile('../../settings/modules/albums/'.$image);
$image = $_GET['image'];
if (file_exists('../../settings/modules/albums/'.$image)) {