Vulnerability in NetApp Clustered Data Ontap
CVE-2021-21707
In PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26 and 8.0.x below 8.0.13, certain XML parsing functions, like simplexml_load_file(), URL-decode the filename passed to them. If that filename contains URL-encoded NUL character, this may cause the function to interpret this as the end of the filename, thus interpreting the filename differently from what the user intended, which may lead it to reading a different file than intended.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.253, 98.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- NetApp Clustered Data Ontap
- PHP
- PHP Group — versions 7.3.x, 7.4.x, 8.0.X
- Tenable Tenable.sc
- Debian Linux — versions 10.0, 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- useru1k/php-8.1.0-dev-exploit (last pushed 2025-10-16): Exploit for the PHP 8.1.0-dev backdoor vulnerability (CVE-2021-21707)
Also mentioned in 5 other repositories (ARPSyndicate/cvemon, behouba/log6302A, lightswitch05/php-version-audit, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugs.php.net/bug.php (Exploit, Patch, Release Notes, Issue Tracking, Vendor Advisory)
- security.netapp.com/advisory/ntap-20211223-0005/ (Third Party Advisory)
- DSA-5082 (vendor-advisory, Third Party Advisory)
- www.tenable.com/security/tns-2022-09 (Patch, Third Party Advisory, Release Notes)
- [debian-lts-announce] 20221215 [SECURITY] [DLA 3243-1] php7.3 security update (mailing-list, Mailing List, Issue Tracking)
This CVE has public exploit evidence. See the latest CVEs with public exploits.