CVE-2016-1242 Tryton allow authenticated users with certain permissions to read arbitrary files via the name parameter

Medium 4.4 Published Updated

Remote authenticated users can read arbitrary files via the name parameter in Tryton, requiring an upgrade to secure versions.

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

What is CVE-2016-1242?

CVE-2016-1242 is a medium-severity path traversal vulnerability in n/a, published on 7 Sep 2016. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

file_open in Tryton before 3.2.17, 3.4.x before 3.4.14, 3.6.x before 3.6.12, 3.8.x before 3.8.8, and 4.x before 4.0.4 allows remote authenticated users with certain permissions to read arbitrary files via the name parameter or unspecified other vectors.

Weakness: CWE-200

Which versions are affected by CVE-2016-1242?

12 open source packages ship an affected version, including trytond and tryton. It affects 1 product.

PackageAffectedFixed in
trytond PyPIAll versions3.2.17, 3.4.14, 3.6.12, 3.8.8, 4.0.4
trytond PyPIAll versions3.2.17
trytond PyPIAll versions3.2.17
trytond PyPIFrom 3.43.4.14
trytond PyPIFrom 3.43.4.14
trytond PyPIFrom 3.63.6.12
6 more packages
trytond PyPIFrom 3.63.6.12
trytond PyPIFrom 3.83.8.8
trytond PyPIFrom 3.83.8.8
trytond PyPIFrom 4.04.0.4
trytond PyPIFrom 4.04.0.4
tryton PyPIAll versions3.2.17

Products include Tryton Tryton.

How do I fix CVE-2016-1242?

Upgrade trytond to a fixed version for your release line: 3.2.17, 3.4.14, 3.6.12 or 3.8.8.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2016-1242 being exploited?

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

Sources

Also known as DEBIAN-CVE-2016-1242, DLA-607-1, GHSA-jpr7-8rxm-4vgx, PYSEC-2016-13, PYSEC-2016-41, UBUNTU-CVE-2016-1242.

Is CVE-2016-1242 in your software?

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

Check your SBOMs for free