CVE-2013-6765 - Improper Authentication

Severity

75%

Complexity

99%

Confidentiality

106%

OpenVAS Manager 3.0 before 3.0.7 and 4.0 before 4.0.4 allows remote attackers to bypass the OMP authentication restrictions and execute OMP commands via a crafted OMP request for version information, which causes the state to be set to CLIENT_AUTHENTIC, as demonstrated by the omp_xml_handle_end_element function in omp.c.

OpenVAS Manager 3.0 before 3.0.7 and 4.0 before 4.0.4 allows remote attackers to bypass the OMP authentication restrictions and execute OMP commands via a crafted OMP request for version information, which causes the state to be set to CLIENT_AUTHENTIC, as demonstrated by the omp_xml_handle_end_element function in omp.c.

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

Demo Examples

Improper Authentication

CWE-287

The following code intends to ensure that the user is already logged in. If not, the code performs authentication with the user-provided username and password. If successful, it sets the loggedin and user cookies to "remember" that the user has already logged in. Finally, the code performs administrator tasks if the logged-in user has the "Administrator" username, as recorded in the user cookie.


               
}
}
ExitError("Error: you need to log in first");
);
);
DoAdministratorTasks();

Unfortunately, this code can be bypassed. The attacker can set the cookies independently so that the code does not check the username and password. The attacker could do this with an HTTP request containing headers such as:


               
[body of request]

By setting the loggedin cookie to "true", the attacker bypasses the entire authentication check. By using the "Administrator" value in the user cookie, the attacker also gains privileges to administer the software.

Improper Authentication

CWE-287

Overview

Type

OpenVAS Manager

First reported 10 years ago

2014-05-19 14:55:00

Last updated 10 years ago

2014-05-19 19:03:00

Affected Software

OpenVAS Manager 4.0 beta1

4.0

OpenVAS Manager 4.0 beta2

4.0

OpenVAS Manager 4.0 beta3

4.0

OpenVAS Manager 4.0 beta4

4.0

OpenVAS Manager 4.0 beta5

4.0

OpenVAS Manager 4.0 release candidate 1

4.0

OpenVAS Manager 4.0.0

4.0.0

OpenVAS Manager 4.0.1

4.0.1

OpenVAS Manager 4.0.2

4.0.2

OpenVAS Manager 4.0.3

4.0.3

OpenVAS Manager 3.0-beta1

3.0

OpenVAS Manager 3.0-beta2

3.0

OpenVAS Manager 3.0-beta3

3.0

OpenVAS Manager 3.0-beta4

3.0

OpenVAS Manager 3.0-beta5

3.0

OpenVAS Manager 3.0-beta6

3.0

OpenVAS Manager 3.0-beta7

3.0

OpenVAS Manager 3.0-beta8

3.0

OpenVAS Manager 3.0-rc1

3.0

OpenVAS Manager 3.0.0

3.0.0

OpenVAS Manager 3.0.1

3.0.1

OpenVAS Manager 3.0.2

3.0.2

OpenVAS Manager 3.0.3

3.0.3

OpenVAS Manager 3.0.4

3.0.4

OpenVAS Manager 3.0.5

3.0.5

OpenVAS Manager 3.0.6

3.0.6

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.