CVE-2011-4320 Ejabberd DoS via malformed stanza

Medium 4.0 Published Updated

Remote authenticated users can cause a denial of service in ejabberd via a malformed publish stanza, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2011-4320?

CVE-2011-4320 is a medium-severity denial of service vulnerability in n/a, published on 18 Feb 2012. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The mod_pubsub module (mod_pubsub.erl) in ejabberd 2.1.8 and 3.0.0-alpha-3 allows remote authenticated users to cause a denial of service (infinite loop) via a stanza with a publish tag that lacks a node attribute.

Weakness: CWE-399

Which versions are affected by CVE-2011-4320?

4 open source packages ship an affected version, including ejabberd. It affects 1 product.

PackageAffectedFixed in
ejabberd HexAll versions2.1.9
ejabberd HexAll versions2.1.9
ejabberd HexFrom 3.0.0-alpha-13.0.0-alpha-4
ejabberd HexFrom 3.0.0-alpha-13.0.0-alpha-4

Products include Process-One Ejabberd.

How do I fix CVE-2011-4320?

Upgrade ejabberd to a fixed version for your release line: 2.1.9 or 3.0.0-alpha-4.

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-2011-4320 being exploited?

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

Sources

Also known as DEBIAN-CVE-2011-4320, GHSA-2h3q-v47h-f4rc.

Is CVE-2011-4320 in your software?

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

Check your SBOMs for free