less up to 653 File Name filename.c LESSOPEN os command injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.8 | $0-$5k | 0.00 |
Summary
A vulnerability was found in less up to 653. It has been classified as critical. Affected by this vulnerability is an unknown functionality of the file filename.c of the component File Name Handler. Performing a manipulation of the argument LESSOPEN results in os command injection. This vulnerability is identified as CVE-2024-32487. The attack is only possible with local access. There is not any exploit available. It is suggested to install a patch to address this issue.
Details
A vulnerability was found in less up to 653. It has been classified as critical. This affects an unknown code block of the file filename.c of the component File Name Handler. The manipulation of the argument LESSOPEN with an unknown input leads to a os command injection vulnerability. CWE is classifying the issue as CWE-78. The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
less through 653 allows OS command execution via a newline character in the name of a file, because quoting is mishandled in filename.c. Exploitation typically requires use with attacker-controlled file names, such as the files extracted from an untrusted archive. Exploitation also requires the LESSOPEN environment variable, but this is set by default in many common cases.
The advisory is shared at openwall.com. This vulnerability is uniquely identified as CVE-2024-32487 since 04/13/2024. The exploitability is told to be easy. An attack has to be approached locally. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1202 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 215022 (Amazon Linux AMI : less (ALAS-2025-1958)), which helps to determine the existence of the flaw in a target environment.
Applying the patch 007521ac3c95bc76e3d59c6dbfe75d06c8075c33 is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at Tenable (215022). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.9VulDB Meta Temp Score: 6.8
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 8.6
CNA Vector: 🔍
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: Os command injectionCWE: CWE-78 / CWE-77 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 215022
Nessus Name: Amazon Linux AMI : less (ALAS-2025-1958)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 007521ac3c95bc76e3d59c6dbfe75d06c8075c33
Timeline
04/13/2024 🔍04/13/2024 🔍
04/13/2024 🔍
02/06/2025 🔍
Sources
Advisory: 007521ac3c95bc76e3d59c6dbfe75d06c8075c33Status: Confirmed
CVE: CVE-2024-32487 (🔍)
GCVE (CVE): GCVE-0-2024-32487
GCVE (VulDB): GCVE-100-260601
Entry
Created: 04/13/2024 22:56Updated: 02/06/2025 04:25
Changes: 04/13/2024 22:56 (56), 05/22/2024 13:30 (1), 06/11/2024 15:53 (1), 07/08/2024 17:10 (11), 02/06/2025 04:25 (3)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.