Heimdal 0.7.2 gss_userok.c gss_userok 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.
9.4$0-$5k0.00

A vulnerability was found in Heimdal 0.7.2. It has been classified as very critical. This affects the function gss_userok of the file appl/ftp/ftpd/gss_userok.c. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as 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. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

The gss_userok function in appl/ftp/ftpd/gss_userok.c in Heimdal 0.7.2 does not allocate memory for the ticketfile pointer before calling free, which allows remote attackers to have an unknown impact via an invalid username. NOTE: the vulnerability was originally reported for ftpd.c, but this is incorrect.

The weakness was disclosed 12/07/2007 by Venustech with VenusTech (Website). The advisory is shared at osvdb.org. This vulnerability is uniquely identified as CVE-2007-5939 since 11/13/2007. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 07/29/2021).

The vulnerability scanner Nessus provides a plugin with the ID 41174 (SuSE9 Security Update : heimdal (YOU Patch Number 12015)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks.

Upgrading to version 0.7.2 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (38913) and Tenable (41174).

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.8
VulDB Meta Temp Score: 9.4

VulDB Base Score: 9.8
VulDB Temp Score: 9.4
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
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 41174
Nessus Name: SuSE9 Security Update : heimdal (YOU Patch Number 12015)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 65199
OpenVAS Name: SLES9: Security update for heimdal
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍
Upgrade: Heimdal 0.7.2

Timelineinfo

11/13/2007 🔍
11/15/2007 +2 days 🔍
12/06/2007 +21 days 🔍
12/07/2007 +1 days 🔍
12/07/2007 +0 days 🔍
12/07/2007 +0 days 🔍
05/02/2008 +147 days 🔍
07/21/2009 +444 days 🔍
09/24/2009 +65 days 🔍
03/16/2015 +1999 days 🔍
07/29/2021 +2327 days 🔍

Sourcesinfo

Advisory: osvdb.org
Researcher: Venustech
Organization: VenusTech
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2007-5939 (🔍)
X-Force: 38913
SecurityTracker: 1019057 - Heimdal Kerberos Uninitialized Variable in ftpd Application Has Unspecified Impact
Vulnerability Center: 22927 - KTH Kerberos 5 (Heimdal) <= 0.7.2 Invalid Username Remote Unspecified Vulnerability, Critical
SecurityFocus: 26758 - Heimdal FTPD gss_userok() Free Uninitialized Pointer Memory Corruption Vulnerability
OSVDB: 44750 - Heimdal appl/ftp/ftpd/gss_userok.c gss_userok Function Username Handling Unspecified Issue

Entryinfo

Created: 03/16/2015 13:43
Updated: 07/29/2021 21:16
Changes: 03/16/2015 13:43 (65), 08/19/2017 09:53 (15), 07/29/2021 21:16 (3)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!