XSS in php-mod/curl pre-2.3.2
php-mod/curl, a wrapper for the PHP cURL extension, prior to version 2.3.2 is vulnerable to cross-site scripting (XSS). The vulnerability exists in the handling of user-supplied input via the 'key' parameter in post_file_path_upload.php and POST data in post_multidimensional.php, which are not properly sanitized before being output, allowing for the injection of arbitrary JavaScript code.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the affected web application, potentially leading to session hijacking, credential theft, or other attacks leveraging the victim's browser session.
If you can’t patch tonight, do this now.
As an interim measure, ensure all user-supplied input is properly sanitized and encoded before being output in the affected scripts. Employ Content Security Policy (CSP) headers to reduce the impact of potential XSS.
Patch, then assume compromise.
Upgrade php-mod/curl to version 2.3.2 or later, where the input handling has been corrected to properly sanitize user-supplied data and prevent XSS.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.