提出 #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 年 ago)
モデレーション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

Want to stay up to date on a daily basis?

Enable the mail alert feature now!