Notepad++ up to 4.1.1 Source File LexRuby.cxx memory corruption

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.6$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in Notepad++ up to 4.1.1. Affected by this issue is some unknown functionality of the file LexRuby.cxx of the component Source File Handler. The manipulation leads to memory corruption. This vulnerability is handled as CVE-2007-2666. Furthermore, there is an exploit available. It is recommended to disable the affected component. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Detailsinfo

A vulnerability classified as critical was found in Notepad++ up to 4.1.1 (Document Reader Software). Affected by this vulnerability is some unknown processing of the file LexRuby.cxx of the component Source File Handler. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

Stack-based buffer overflow in LexRuby.cxx (SciLexer.dll) in Scintilla 1.73, as used by notepad++ 4.1.1 and earlier, allows user-assisted remote attackers to execute arbitrary code via certain Ruby (.rb) files with long lines. NOTE: this was originally reported as a vulnerability in notepad++.

The weakness was shared 05/14/2007 by Vade 79 (Website). It is possible to read the advisory at exploit-db.com. This vulnerability is known as CVE-2007-2666 since 05/14/2007. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known.

A public exploit has been developed by vade79 and been published even before and not after the advisory. It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 25294 (Notepad++ Ruby Source File Handling Overflow), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Windows and running in the context l.

Upgrading to version 1.74 eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (34372), Exploit-DB (3912), Tenable (25294), SecurityFocus (BID 23961†) and OSVDB (36007†). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: vade79
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 25294
Nessus Name: Notepad++ Ruby Source File Handling Overflow
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Disable
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: Notepad++ 1.74

Timelineinfo

05/12/2007 🔍
05/12/2007 +0 days 🔍
05/12/2007 +0 days 🔍
05/12/2007 +0 days 🔍
05/14/2007 +2 days 🔍
05/14/2007 +0 days 🔍
05/14/2007 +0 days 🔍
05/14/2007 +0 days 🔍
05/18/2007 +3 days 🔍
05/18/2007 +0 days 🔍
05/24/2007 +6 days 🔍
05/27/2007 +3 days 🔍
06/18/2007 +22 days 🔍
09/15/2024 +6299 days 🔍

Sourcesinfo

Advisory: exploit-db.com
Researcher: Vade 79
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2007-2666 (🔍)
GCVE (CVE): GCVE-0-2007-2666
GCVE (VulDB): GCVE-100-3079
X-Force: 34372 - Scintilla RB buffer overflow, Medium Risk
SecurityFocus: 23961 - Notepad++ Ruby Source File Processing Buffer Overflow Vulnerability
Secunia: 25327 - Scintilla LexRuby.cxx Ruby Source File Buffer Overflow Vulnerability, Moderately Critical
OSVDB: 36007 - Scintilla LexRuby.cxx (SciLexer.dll) rb File Handling Overflow
Vulnerability Center: 15227 - Notepad++ Buffer Overflow Allows Remote Attacker to Run Arbitrary Code Via Ruby Files, Medium
Vupen: ADV-2007-1867

scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 05/18/2007 10:52 AM
Updated: 09/15/2024 10:59 AM
Changes: 05/18/2007 10:52 AM (91), 08/24/2017 08:59 AM (7), 03/15/2021 01:53 PM (3), 09/15/2024 10:59 AM (20)
Complete: 🔍
Cache ID: 18:CD9:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!