Title: ngIRCd Remote Format String Vulnerability
Severity: CRITICAL
Description:
ngIRCd is an IRC daemon available for various platforms including Windows and UNIX.
ngIRCd is reported prone to a remote format string vulnerability. This issue presents itself because the application fails to properly sanitize user-supplied input prior to passing it as the format specifier to a formatted printing function.
Reportedly, this issue arises in the 'Log_Resolver()' function residing in the 'log.c' file when the server is compiled with IDENT, SYSLOG and DEBUG enabled. An attacker can exploit this vulnerability by sending a maliciously crafted string containing format specifiers to the server.
Apparently, data sent to the server may be logged using a 'syslog()' function call that is improperly implemented. This allows an attacker to gain control of the format string, allowing them to write to arbitrary process memory and gain control of execution flow.
A remote attacker may leverage this issue to write to arbitrary process memory, facilitating code execution. Any code execution would take place with superuser privileges as the server reportedly runs with superuser privileges.
ngIRCd 0.8.2 and prior versions are reported vulnerable to this issue.
Affected Products:
- ngIRCd ngIRCd 0.6.0
- ngIRCd ngIRCd 0.6.1
- ngIRCd ngIRCd 0.7.0
- ngIRCd ngIRCd 0.7.1
- ngIRCd ngIRCd 0.7.5
- ngIRCd ngIRCd 0.7.6
- ngIRCd ngIRCd 0.7.7
- ngIRCd ngIRCd 0.8.0
- ngIRCd ngIRCd 0.8.1
- ngIRCd ngIRCd 0.8.2
References:
- ngIRCd: ngIRCd Home Page
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.