GNU FreeRADIUS 1.0.2 rlm_sql.c sql_escape_func memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.3 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in GNU FreeRADIUS 1.0.2. This impacts the function sql_escape_func of the file rlm_sql.c. This manipulation causes memory corruption.
This vulnerability appears as CVE-2005-1455. The attack may be initiated remotely. There is no available exploit.
It is recommended that the affected component be replaced with an alternative.
Details
A vulnerability was found in GNU FreeRADIUS 1.0.2 (Network Authentication Software). It has been declared as critical. Affected by this vulnerability is the function sql_escape_func of the file rlm_sql.c. 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:
Buffer overflow in the sql_escape_func function in the SQL module for FreeRADIUS 1.0.2 and earlier allows remote attackers to cause a denial of service (crash).
The bug was discovered 05/06/2005. The weakness was presented 05/17/2005 by Primoz Bratanic (Website). It is possible to read the advisory at security.gentoo.org. This vulnerability is known as CVE-2005-1455 since 05/05/2005. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability was handled as a non-public zero-day exploit for at least 7 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 58863 (Fedora 17 : systemd-44-6.fc17 (2012-6456)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 117921 (CentOS Security Update for FreeRADIUS (CESA-2005:524)).
Applying a patch is able to eliminate this problem. The bugfix is ready for download at ftp.freeradius.org. The problem might be mitigated by replacing the product with as an alternative. The best possible mitigation is suggested to be establishing an alternative product. A possible mitigation has been published 8 years after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (20450), Tenable (58863), SecurityFocus (BID 13541†), OSVDB (16456†) and Secunia (SA15361†). See VDB-1484, VDB-2094, VDB-28056 and VDB-28055 for similar entries. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.gnu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.3
VulDB Base Score: 7.3
VulDB Temp Score: 7.3
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: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 58863
Nessus Name: Fedora 17 : systemd-44-6.fc17 (2012-6456)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 58863
OpenVAS Name: FreeBSD Ports: freeradius, freeradius-mysql
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: AlternativeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: ftp.freeradius.org
Timeline
05/05/2005 🔍05/06/2005 🔍
05/06/2005 🔍
05/06/2005 🔍
05/13/2005 🔍
05/17/2005 🔍
05/19/2005 🔍
05/23/2005 🔍
05/30/2005 🔍
04/24/2012 🔍
04/25/2012 🔍
07/03/2019 🔍
Sources
Vendor: gnu.orgAdvisory: security.gentoo.org
Researcher: Primoz Bratanic
Status: Not defined
Confirmation: 🔍
CVE: CVE-2005-1455 (🔍)
GCVE (CVE): GCVE-0-2005-1455
GCVE (VulDB): GCVE-100-1483
OVAL: 🔍
X-Force: 20450 - FreeRADIUS sql_escape_func function buffer overflow, High Risk
SecurityFocus: 13541 - FreeRadius RLM_SQL.C Buffer Overflow Vulnerability
Secunia: 15361 - FreeRADIUS Potential SQL Injection and Buffer Overflow Vulnerabilities, Less Critical
OSVDB: 16456 - FreeRADIUS rlm_sql.c sql_escape_func Function Overflow
Vulnerability Center: 8093 - Buffer Overflow in FreeRadius 1.0.2 via \x27sql_escape_func()\x27 Function, High
See also: 🔍
Entry
Created: 05/30/2005 14:28Updated: 07/03/2019 07:15
Changes: 05/30/2005 14:28 (90), 07/03/2019 07:15 (9)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.