CVE-2020-15120 Authorization Bypass in I hate money

Medium 4.9 Published Updated

Authenticated users can modify or delete members of other projects and access their bills without authorization, leading to data exposure and modification.

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

What is CVE-2020-15120?

CVE-2020-15120 is a medium-severity missing authorization vulnerability in spiral-project ihatemoney, published on 27 Jul 2020. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

In "I hate money" before version 4.1.5, an authenticated member of one project can modify and delete members of another project, without knowledge of this other project's private code. This can be further exploited to access all bills of another project without knowledge of this other project's private code. With the default configuration, anybody is allowed to create a new project. An attacker can create a new project and then use it to become authenticated and exploit this flaw. As such, the exposure is similar to an unauthenticated attack, because it is trivial to become authenticated. This is fixed in version 4.1.5.

Weakness: CWE-863

Which versions are affected by CVE-2020-15120?

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

PackageAffectedFixed in
ihatemoney PyPIAll versions4.1.5
ihatemoney PyPIAll versions4.1.5
ihatemoney PyPIAll versions4.1.5

Products include Ihatemoney I Hate Money.

How do I fix CVE-2020-15120?

Upgrade ihatemoney to 4.1.5 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2020-15120 being exploited?

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

Sources

Also known as GHSA-67j9-c52g-w2q9, PYSEC-2020-264.

Is CVE-2020-15120 in your software?

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

Check your SBOMs for free