CVE-2016-3954 web2py exposure of sensitive information

Medium 5.5 Published Updated

Remote attackers can obtain the session cookie key via a direct request, potentially leading to further exploitation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2016-3954?

CVE-2016-3954 is a medium-severity vulnerability in n/a, published on 6 Feb 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

web2py before 2.14.2 allows remote attackers to obtain the session_cookie_key value via a direct request to examples/simple_examples/status. NOTE: this issue can be leveraged by remote attackers to execute arbitrary code using CVE-2016-3957.

Weakness: CWE-200

Which versions are affected by CVE-2016-3954?

3 open source packages ship an affected version, including web2py. It affects 1 product.

PackageAffectedFixed in
web2py PyPIAll versions2.14.2
web2py PyPIAll versions2.14.2
web2py PyPIAll versions2.14.2

Products include Web2py Web2py.

How do I fix CVE-2016-3954?

Upgrade web2py to 2.14.2 or later.

Is CVE-2016-3954 being exploited?

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

Sources

Also known as GHSA-jr83-vr4j-mp6p, PYSEC-2026-1062, UBUNTU-CVE-2016-3954.

Is CVE-2016-3954 in your software?

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

Check your SBOMs for free