Stunnel up to 4.0 Descriptor listen privileges management

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

Summaryinfo

A vulnerability was found in Stunnel and classified as problematic. This vulnerability affects the function Lists of the component Descriptor Handler. The manipulation results in privileges management. This vulnerability is reported as CVE-2003-0740. Moreover, an exploit is present. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as problematic, was found in Stunnel. Affected is the function listen of the component Descriptor Handler. The manipulation with an unknown input leads to a privileges management vulnerability. CWE is classifying the issue as CWE-269. The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

Stunnel 4.00, and 3.24 and earlier, leaks a privileged file descriptor returned by listen(), which allows local users to hijack the Stunnel server.

The bug was discovered 09/03/2003. The weakness was disclosed 09/03/2003 by Steve Grubb (LINUX) as not defined posting (Bugtraq). The advisory is shared for download at marc.theaimsgroup.com. This vulnerability is traded as CVE-2003-0740 since 09/03/2003. The exploitability is told to be easy. The attack needs to be approached locally. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1068.

The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 14090 (Mandrake Linux Security Advisory : stunnel (MDKSA-2003:108)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 38378 (Red Hat Stunnel Re-entrancy Vulnerability).

Upgrading eliminates this vulnerability. A possible mitigation has been published 3 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Exploit-DB (91), Tenable (14090), SecurityFocus (BID 8537†), OSVDB (6451†) and Secunia (SA9691†). Once again VulDB remains the best source for vulnerability data.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.9
VulDB Meta Temp Score: 5.3

VulDB Base Score: 5.9
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Privileges management
CWE: CWE-269 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

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

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 14090
Nessus Name: Mandrake Linux Security Advisory : stunnel (MDKSA-2003:108)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Timelineinfo

09/03/2003 🔍
09/03/2003 +0 days 🔍
09/03/2003 +0 days 🔍
09/03/2003 +0 days 🔍
09/05/2003 +2 days 🔍
09/09/2003 +4 days 🔍
10/20/2003 +41 days 🔍
11/25/2003 +36 days 🔍
04/09/2004 +135 days 🔍
07/31/2004 +113 days 🔍
11/15/2005 +472 days 🔍
08/15/2014 +3195 days 🔍
07/25/2025 +3997 days 🔍

Sourcesinfo

Advisory: marc.theaimsgroup.com
Researcher: Steve Grubb (LINUX)
Status: Confirmed

CVE: CVE-2003-0740 (🔍)
GCVE (CVE): GCVE-0-2003-0740
GCVE (VulDB): GCVE-100-20892
SecurityFocus: 8537 - Stunnel Leaked File Descriptor Vulnerability
Secunia: 9691 - Stunnel Local Server Hijacking Vulnerability, Less Critical
OSVDB: 6451 - Stunnel File Descriptor Leak Session Hijack
Vulnerability Center: 9637 - Stunnel Local DoS via File Descriptors Returned by listen(), Low

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

Entryinfo

Created: 08/15/2014 14:38
Updated: 07/25/2025 20:43
Changes: 08/15/2014 14:38 (74), 06/11/2019 12:59 (9), 11/24/2024 17:59 (18), 07/25/2025 20:43 (2)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!