CVE-2016-4423 Symphony Denial of Service Via Overlong Usernames

High 7.5 Published Updated

Remote attackers can cause denial of service by exhausting session storage with long usernames during authentication attempts in Symfony.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-4423?

CVE-2016-4423 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 1 Jun 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The attemptAuthentication function in Component/Security/Http/Firewall/UsernamePasswordFormAuthenticationListener.php in Symfony before 2.3.41, 2.7.x before 2.7.13, 2.8.x before 2.8.6, and 3.0.x before 3.0.6 does not limit the length of a username stored in a session, which allows remote attackers to cause a denial of service (session storage consumption) via a series of authentication attempts with long, non-existent usernames.

Weakness: CWE-399

Which versions are affected by CVE-2016-4423?

24 open source packages ship an affected version, including symfony/security, symfony/security-http and symfony/symfony. It affects 2 products.

PackageAffectedFixed in
symfony/security PackagistFrom 2.3.02.3.41
symfony/security PackagistFrom 2.3.02.3.41
symfony/security PackagistFrom 2.4.02.7.13
symfony/security PackagistFrom 2.4.02.7.13
symfony/security PackagistFrom 2.8.02.8.6
symfony/security PackagistFrom 2.8.02.8.6
18 more packages
symfony/security PackagistFrom 3.0.03.0.6
symfony/security PackagistFrom 3.0.03.0.6
symfony/security-http PackagistFrom 2.3.02.3.41
symfony/security-http PackagistFrom 2.3.02.3.41
symfony/security-http PackagistFrom 2.4.02.7.13
symfony/security-http PackagistFrom 2.4.02.7.13
symfony/security-http PackagistFrom 2.8.02.8.6
symfony/security-http PackagistFrom 2.8.02.8.6
symfony/security-http PackagistFrom 3.0.03.0.6
symfony/security-http PackagistFrom 3.0.03.0.6
symfony/symfony PackagistFrom 2.3.02.3.41
symfony/symfony PackagistFrom 2.3.02.3.41
symfony/symfony PackagistFrom 2.4.02.7.13
symfony/symfony PackagistFrom 2.4.02.7.13
symfony/symfony PackagistFrom 2.8.02.8.6
symfony/symfony PackagistFrom 2.8.02.8.6
symfony/symfony PackagistFrom 3.0.03.0.6
symfony/symfony PackagistFrom 3.0.03.0.6

Products include Debian Debian Linux, Sensiolabs Symfony.

How do I fix CVE-2016-4423?

Upgrade symfony/security to a fixed version for your release line: 2.3.41, 2.7.13, 2.8.6 or 3.0.6.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2016-4423 being exploited?

There is no known exploitation of CVE-2016-4423 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-4423, GHSA-whgv-8cg3-7hcm, UBUNTU-CVE-2016-4423.

Is CVE-2016-4423 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free