CVE-2019-12264 - Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Severity

48%

Complexity

65%

Confidentiality

81%

Wind River VxWorks 6.6, 6.7, 6.8, 6.9.3, 6.9.4, and Vx7 has Incorrect Access Control in IPv4 assignment by the ipdhcpc DHCP client component.

Wind River VxWorks 6.6, 6.7, 6.8, 6.9.3, 6.9.4, and Vx7 has Incorrect Access Control in IPv4 assignment by the ipdhcpc DHCP client component.

CVSS 3.0 Base Score 7.1. CVSS Attack Vector: adjacent_network. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H).

CVSS 2.0 Base Score 4.8. CVSS Attack Vector: adjacent_network. CVSS Attack Complexity: low. CVSS Vector: (AV:A/AC:L/Au:N/C:N/I:P/A:P).

Demo Examples

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

CWE-88

The following simple program accepts a filename as a command line argument and displays the contents of the file back to the user. The program is installed setuid root because it is intended for use as a learning tool to allow system administrators in-training to inspect privileged system files without giving them the ability to modify them or damage the system.


               
}
system(cmd);

Because the program runs with root privileges, the call to system() also executes with root privileges. If a user specifies a standard filename, the call works as expected. However, if an attacker passes a string of the form ";rm -rf /", then the call to system() fails to execute cat due to a lack of arguments and then plows on to recursively delete the contents of the root partition.

Note that if argv[1] is a very long argument, then this issue might also be subject to a buffer overflow (CWE-120).

Overview

Type

Wind River VxWorks

First reported 5 years ago

2019-08-05 18:15:00

Last updated 5 years ago

2019-08-16 21:15:00

Affected Software

Wind River VxWorks 6.6

6.6

Wind River VxWorks 6.7

6.7

Wind River VxWorks 6.8

6.8

Wind River VxWorks 6.9.3

6.9.3

Wind River VxWorks 6.9.4

6.9.4

Wind River VxWorks 7

7

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.