GNU Samba 3.0.2/3.0.2a/3.0.3/3.0.4 SWAT HTTP Basic Authentication 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

A vulnerability was found in GNU Samba 3.0.2/3.0.2a/3.0.3/3.0.4 (File Transfer Software) and classified as critical. Affected by this issue is an unknown function of the component SWAT HTTP Basic Authentication. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, integrity, and availability. CVE summarizes:

Buffer overflow in the Samba Web Administration Tool (SWAT) in Samba 3.0.2 to 3.0.4 allows remote attackers to execute arbitrary code via an invalid base-64 character during HTTP basic authentication.

The bug was discovered 04/28/2004. The weakness was published 07/22/2004 by Evgeny Demidov (Website). The advisory is available at samba.org. This vulnerability is handled as CVE-2004-0600 since 06/23/2004. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details are unknown but a public exploit is available.

The exploit is available at securiteam.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 83 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 17720 (Samba SWAT 3.0.2 - 3.0.4 HTTP Basic Auth base64 Buffer Overflow), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Misc. and running in the context r.

Upgrading to version 3.0.5 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at us2.samba.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published before and not just after the disclosure of the vulnerability. Attack attempts may be identified with Snort ID 2598. In this case the pattern Authorization|3A| Basic is used for detection. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 2920.

The vulnerability is also documented in the databases at X-Force (16785), Tenable (17720) and Exploit-DB (364). secunia.com is providing further details. Similar entry is available at 771.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
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
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 17720
Nessus Name: Samba SWAT 3.0.2 - 3.0.4 HTTP Basic Auth base64 Buffer Overflow
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 54628
OpenVAS Name: Gentoo Security Advisory GLSA 200407-21 (Samba)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Samba 3.0.5
Patch: us2.samba.org

Snort ID: 2598
Snort Message: WEB-MISC Samba SWAT Authorization port 901 overflow attempt
Snort Class: 🔍
Snort Pattern: 🔍
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

SourceFire IPS: 🔍
ISS Proventia IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

04/28/2004 🔍
06/23/2004 +56 days 🔍
07/20/2004 +27 days 🔍
07/22/2004 +2 days 🔍
07/22/2004 +0 days 🔍
07/22/2004 +0 days 🔍
07/23/2004 +1 days 🔍
07/26/2004 +2 days 🔍
07/26/2004 +0 days 🔍
07/27/2004 +1 days 🔍
11/18/2011 +2670 days 🔍
06/28/2019 +2779 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: samba.org
Researcher: Evgeny Demidov
Status: Not defined

CVE: CVE-2004-0600 (🔍)
OVAL: 🔍

X-Force: 16785 - Samba SWAT invalid base64 character causes buffer overflow, High Risk
Vulnerability Center: 4854 - Buffer Overflow in Samba Web Administration Tool, High
SecuriTeam: securiteam.com
SecurityFocus: 10780 - Samba Web Administration Tool Base64 Decoder Buffer Overflow Vulnerability
Secunia: 12130 - Samba Two Buffer Overflow Vulnerabilities, Moderately Critical
OSVDB: 8190 - Samba SWAT HTTP Basic Auth base64 Overflow

scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍
See also: 🔍

Entryinfo

Created: 07/26/2004 11:12
Updated: 06/28/2019 22:21
Changes: 07/26/2004 11:12 (110), 06/28/2019 22:21 (1)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!