less up to 653 File Name filename.c LESSOPEN os command injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.8$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.9
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Os command injection
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 215022
Nessus Name: Amazon Linux AMI : less (ALAS-2025-1958)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 007521ac3c95bc76e3d59c6dbfe75d06c8075c33

Timelineinfo

04/13/2024 🔍
04/13/2024 +0 days 🔍
04/13/2024 +0 days 🔍
02/06/2025 +299 days 🔍

Sourcesinfo

Advisory: 007521ac3c95bc76e3d59c6dbfe75d06c8075c33
Status: Confirmed

CVE: CVE-2024-32487 (🔍)
GCVE (CVE): GCVE-0-2024-32487
GCVE (VulDB): GCVE-100-260601

Entryinfo

Created: 04/13/2024 22:56
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!