PHP: $GLOBALS overwrite in file upload handling (CVE-2005-3390) fixed in 4.4.1 and 5.1.0
Published 27/11/2026 23:56
Timeline
4 events over 7 d
- 20/11/2026First report+7 d
- 27/11/2026 23:16Corroboratedphp.net+0 min
- 27/11/2026 23:16Confirmedphp.net+40 min
- 27/11/2026 23:56Published on WatchtowerPro CISO
In short
CVE-2005-3390 is an old PHP flaw in the RFC1867 file upload feature of PHP 4.x up to 4.4.0 and 5.x up to 5.0.5. It only applies when register_globals is enabled. A remote attacker can overwrite the GLOBALS array with a crafted multipart/form-data POST containing a "GLOBALS" file upload field, which can bypass the security checks of PHP applications. Shodan estimates 120,732 internet-facing systems tagged with CVE-2005-3390 worldwide, 21,366 of them in the EU (29/11/2026). GreyNoise reports a public exploit for CVE-2005-3390 (29/11/2026).
How bad is it
High. On a very old PHP server with register_globals turned on, an attacker can send a crafted upload request over the internet, without logging in, to get around an application's security checks.
Confirmed by the vendor or a CERT - no exploitation reported yet.
Severity score
No CVSS score published yet
CVE-2005-3390: no score published yet. A missing score is never read as 0.
What an attacker needs
- Internet access to itNot published yet
- A loginNot published yet
- A user to clickNot published yet
- Special settingsNot published yet
Red helps the attacker, blue holds them back, grey is not published yet.
A score is the worst case for the flaw, not a verdict on any one system. How we score · ReconX customers see which of their own systems are affected.
Affected versions
- PHP 4.x up to 4.4.0 and PHP 5.x up to 5.0.5, in the RFC1867 file upload feature, when register_globals is enabled.
- Red Hat Enterprise Linux 2.1 was covered by RHSA-2005:838, which says the flaw could overwrite $GLOBALS, possibly leading to execution of arbitrary PHP commands.
Fixed in
- 4.4 branch: 4.4.1 (released 31/10/2005)
What to do now
- Upgrade to a currently supported PHP version. The minimum fixed releases are PHP 4.4.1 (4.x) and PHP 5.1.0 (5.x), but both are long unsupported.
- Check whether any server runs PHP 4.x or 5.0.x and whether register_globals is enabled in php.ini.
- As an interim measure, set register_globals = Off in php.ini. This reduces exposure and does not make a server safe.
- On Ubuntu, the tracker lists php4 fixed in 4.4.2-1build1 (6.06 LTS and 6.10) and php5 fixed in 5.1.2-1ubuntu3.9 (6.06 LTS); these releases are out of support.
- On Red Hat Enterprise Linux 2.1, see RHSA-2005:838.
ReconX customers see the full notice - and their own systems
Our customers are alerted at every phase. Until a patch exists, the ReconX agent watches their servers from the inside for anomalies, and our outside view - the attacker's view - shows which systems to fix first.
In ReconX: the full analysis, 5 open questions, followed up as sources answer and all 6 sources with their dates. And technology matching: which of your systems run PHP, at which version, fixed or not - and what each one needs.
Main sources
PHP: PHP 4.4.1 Release Announcement Vendor · Known exploited (VulnCheck KEV): PHP PHP - CVE-2005-3390 Research · CVE Record: CVE-2005-3390 Research
Data: Shodan - vuln:CVE-2005-3390 (estimate, 29/11/2026) · GreyNoise - CVE-2005-3390 (estimate, 29/11/2026)