GNU Samba 3.0.2/3.0.2a/3.0.3/3.0.4 SWAT HTTP Basic Authentication memory corruption
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.6 | $0-$5k | 0.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.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: 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-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
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: 🔍
Timeline
04/28/2004 🔍06/23/2004 🔍
07/20/2004 🔍
07/22/2004 🔍
07/22/2004 🔍
07/22/2004 🔍
07/23/2004 🔍
07/26/2004 🔍
07/26/2004 🔍
07/27/2004 🔍
11/18/2011 🔍
06/28/2019 🔍
Sources
Vendor: gnu.orgAdvisory: 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: 🔍
Entry
Created: 07/26/2004 11:12Updated: 06/28/2019 22:21
Changes: 07/26/2004 11:12 (110), 06/28/2019 22:21 (1)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.