Ralf Image Gallery (R.I.G.) contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to the check_entry.php script not properly sanitizing user input supplied to the 'dir_abs_src' variable. This may allow an attacker to include a file from a remote host that contains arbitrary commands which will be executed by the vulnerable script.
Additionally, this can be used to access arbitrary files via directory traversal style attacks (../../), or conduct cross-site scripting (XSS) attacks allowing for the execution of arbitrary code in a user's browser within the trust relationship between the browser and the server.
Classification
Location:
Remote / Network Access
Attack Type:
Input Manipulation
Impact:
Loss of Integrity
Exploit:
Exploit Rumored
Disclosure:
OSVDB Verified
OSVDB:
Web Related
Solution
Upgrade to version 1.0 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.