Sudo up to 1.9.12.p1 Environment Variable SUDO_EDITOR/VISUAL/EDITOR protection mechanism
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
8.4 | $5k-$25k | 1.34 |
A vulnerability was found in Sudo up to 1.9.12.p1 (Operating System Utility Software). It has been classified as very critical. Affected is an unknown functionality of the component Environment Variable Handler. The manipulation of the argument SUDO_EDITOR/VISUAL/EDITOR
with an unknown input leads to a protection mechanism vulnerability. CWE is classifying the issue as CWE-693. The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environment variables (SUDO_EDITOR, VISUAL, and EDITOR), allowing a local attacker to append arbitrary entries to the list of files to process. This can lead to privilege escalation. Affected versions are 1.8.0 through 1.9.12.p1. The problem exists because a user-specified editor may contain a "--" argument that defeats a protection mechanism, e.g., an EDITOR='vim -- /path/to/extra/file' value.
The weakness was published 01/18/2023. The advisory is shared for download at sudo.ws. This vulnerability is traded as CVE-2023-22809 since 01/06/2023. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 01/18/2023).
Applying the patch 1.9.12p2 is able to eliminate this problem.
Product
Type
Name
License
- open-source
CPE 2.3
CPE 2.2
CVSSv3
VulDB Meta Base Score: 8.8VulDB Meta Temp Score: 8.4
VulDB Base Score: 8.8
VulDB Temp Score: 8.4
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
🔍 | 🔍 | 🔍 | 🔍 | 🔍 | 🔍 |
🔍 | 🔍 | 🔍 | 🔍 | 🔍 | 🔍 |
🔍 | 🔍 | 🔍 | 🔍 | 🔍 | 🔍 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Protection mechanismCWE: CWE-693
ATT&CK: Unknown
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: 1.9.12p2
Timeline
01/06/2023 CVE reserved01/18/2023 Advisory disclosed
01/18/2023 VulDB entry created
01/18/2023 VulDB last update
Sources
Advisory: sudo.wsStatus: Confirmed
CVE: CVE-2023-22809 (🔒)
Entry
Created: 01/18/2023 09:44 PMChanges: 01/18/2023 09:44 PM (40)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.