提交 #578082: phpwcms 1.10.8 phar/php filter vulnerability信息

标题phpwcms 1.10.8 phar/php filter vulnerability
描述The phpwcms Content Management System is vulnerable to PHP Object Injection and Local File Disclosure through the image_resized.php script. The vulnerability exists because user input from the 'imgfile' GET parameter is passed to the PHP getimagesize() function without proper validation. While the script attempts to sanitize the input by removing 'http://' and 'https://' prefixes, it fails to handle other protocols like 'phar://' or PHP filter wrappers, allowing attackers to bypass this protection. This vulnerability allows an attacker to: 1. Trigger PHP Object Injection through PHAR deserialization (only when a POP chain exists in the application) 2. Read local files through PHP filter chains using error-based oracle techniques, as described in [PHP filter chains for file read from error-based oracle](https://www.synacktiv.com/publications/php-filter-chains-file-read-from-error-based-oracle) The vulnerability is particularly dangerous because it's exposed without authentication requirements, making it accessible to unauthenticated attackers.
来源⚠️ https://github.com/3em0/cve_repo/blob/main/phpwcms/image_resized%23getimagesize.md
用户
 Dem0 (UID 82596)
提交2025-05-15 14時33分 (1 年前)
管理2025-06-03 07時15分 (19 days later)
状态已接受
VulDB条目310914 [slackero phpwcms 直到 1.9.45/1.10.8 image_resized.php is_file/getimagesize imgfile 权限提升]
积分20

Do you know our Splunk app?

Download it now for free!