Syslog-ng Macro Expansion Remote Buffer Overflow Vulnerability

BID:5934

Info

Syslog-ng Macro Expansion Remote Buffer Overflow Vulnerability

Bugtraq ID: 5934
Class: Boundary Condition Error
CVE: CVE-2002-1200
Remote: Yes
Local: No
Published: Oct 10 2002 12:00AM
Updated: Jul 11 2009 06:06PM
Credit: Vulnerability reported by Balabit.
Vulnerable: Balabit syslog-ng 1.5.20
Balabit syslog-ng 1.5.15
Balabit syslog-ng 1.4.15
Balabit syslog-ng 1.4.14
Balabit syslog-ng 1.4.12
Balabit syslog-ng 1.4.11
Balabit syslog-ng 1.4.10
+ EnGarde Secure Linux 1.0.1
Balabit syslog-ng 1.4.9
Balabit syslog-ng 1.4.8
Balabit syslog-ng 1.4.7
Balabit syslog-ng 1.4 .0rc3
Axis Communications StorPoint 1.4.15
Not Vulnerable: Balabit syslog-ng 1.5.21
Balabit syslog-ng 1.4.16
Axis Communications StorPoint 1.4.16

Discussion

Syslog-ng Macro Expansion Remote Buffer Overflow Vulnerability

A vulnerability has been discovered in syslog-ng.

Reportedly, syslog-ng macro expansion fails to do proper bounds checking when handling constant characters. By passing an overly large amount of constants to a macro, it may be possible to cause a overflow in the macro expansion buffer.

This issue could be exploited by a remote attacker to execute arbitrary commands as the syslog-ng process.

Although discovered for version 1.4.15 and 1.5.20, it is likely that early versions of the software are also vulnerable.

Exploit / POC

Syslog-ng Macro Expansion Remote Buffer Overflow Vulnerability

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

Solution / Fix

Syslog-ng Macro Expansion Remote Buffer Overflow Vulnerability

Solution:
EnGarde Secure Linux has released a new advisory, ESA-20021029-028, that obsoletes ESA-20021016-025. New fixes are available.

SuSE has released an advisory. Fixes are available.

Fixes have been made available:


Balabit syslog-ng 1.4 .0rc3

Balabit syslog-ng 1.4.10

Balabit syslog-ng 1.4.11

Balabit syslog-ng 1.4.12

Balabit syslog-ng 1.4.14

Axis Communications StorPoint 1.4.15

Balabit syslog-ng 1.4.15

Balabit syslog-ng 1.5.15

Balabit syslog-ng 1.5.20

References

Syslog-ng Macro Expansion Remote Buffer Overflow Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report