CVE-2016-4855: ADOdb Cross-site scripting vulnerability in old test script
6.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.68835%
CWE
Published
5/17/2022
Updated
2/5/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
adodb/adodb-php | composer | < 5.20.6 | 5.20.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from inline code in the 'tests/test.php' script that processes all GET parameters without proper validation, allowing attackers to inject arbitrary variables. The code in question is a foreach loop in the global scope (not within a named function) that blindly assigns user-supplied GET parameters to variables (using variable variables: $$k = $v). The lack of input validation here directly enables XSS. Since the vulnerable code is not encapsulated within a specific function but exists in the script's main execution flow, no named functions are identified as vulnerable with high confidence.