Vulnerabilities > CVE-2007-4644 - Code Injection vulnerability in Doomsday
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Format string vulnerability in the Cl_GetPackets function in cl_main.c in the client in Doomsday (aka deng) 1.9.0-beta5.1 and earlier allows remote Doomsday servers to execute arbitrary code via format string specifiers in a PSV_CONSOLE_TEXT message.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leverage Executable Code in Non-Executable Files An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
- Manipulating User-Controlled Variables This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Nessus
NASL family | Gentoo Local Security Checks |
NASL id | GENTOO_GLSA-200802-02.NASL |
description | The remote host is affected by the vulnerability described in GLSA-200802-02 (Doomsday: Multiple vulnerabilities) Luigi Auriemma discovered multiple buffer overflows in the D_NetPlayerEvent() function, the Msg_Write() function and the NetSv_ReadCommands() function. He also discovered errors when handling chat messages that are not NULL-terminated (CVE-2007-4642) or contain a short data length, triggering an integer underflow (CVE-2007-4643). Furthermore a format string vulnerability was discovered in the Cl_GetPackets() function when processing PSV_CONSOLE_TEXT messages (CVE-2007-4644). Impact : A remote attacker could exploit these vulnerabilities to execute arbitrary code with the rights of the user running the Doomsday server or cause a Denial of Service by sending specially crafted messages to the server. Workaround : There is no known workaround at this time. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 30244 |
published | 2008-02-11 |
reporter | This script is Copyright (C) 2008-2019 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/30244 |
title | GLSA-200802-02 : Doomsday: Multiple vulnerabilities |
code |
|
References
- http://aluigi.org/poc/dumsdei.zip
- http://aluigi.org/poc/dumsdei.zip
- http://bugs.gentoo.org/show_bug.cgi?id=190835
- http://bugs.gentoo.org/show_bug.cgi?id=190835
- http://secunia.com/advisories/26524
- http://secunia.com/advisories/26524
- http://secunia.com/advisories/28821
- http://secunia.com/advisories/28821
- http://security.gentoo.org/glsa/glsa-200802-02.xml
- http://security.gentoo.org/glsa/glsa-200802-02.xml
- http://securityreason.com/securityalert/3084
- http://securityreason.com/securityalert/3084
- http://www.securityfocus.com/archive/1/478077/100/0/threaded
- http://www.securityfocus.com/archive/1/478077/100/0/threaded
- http://www.securityfocus.com/bid/25483
- http://www.securityfocus.com/bid/25483
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36337
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36337