CVE-2022-40297 Privilege escalation in n/a

High 7.8 Published Updated

Attackers can escalate privileges to root by using the weak four-digit screen unlock passcode for sudo access on Ubuntu Touch devices.

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

What is CVE-2022-40297?

CVE-2022-40297 is a high-severity vulnerability in n/a, published on 8 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

UBports Ubuntu Touch 16.04 allows the screen-unlock passcode to be used for a privileged shell via Sudo. This passcode is only four digits, far below typical length/complexity for a user account's password. NOTE: a third party states "The described attack cannot be executed as demonstrated.

Weakness: CWE-269

Which versions are affected by CVE-2022-40297?

It affects 1 product.

Products include Ubports Ubuntu Touch.

How do I fix CVE-2022-40297?

No fix has been published for CVE-2022-40297 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-40297 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40297 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-qjwx-hqg3-vv75.

Is CVE-2022-40297 in your software?

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

Check your SBOMs for free