Apache Tomcat Manager Common Administrative Credentials

critical Nessus Plugin ID 34970
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The management console for the remote web server is protected using a known set of credentials.

Description

Nessus was able to gain access to the Manager web application for the remote Tomcat server using a known set of credentials. A remote attacker can exploit this issue to install a malicious application on the affected server and run arbitrary code with Tomcat's privileges (usually SYSTEM on Windows, or the unprivileged 'tomcat' account on Unix). Note that worms are known to propagate this way.

Solution

Edit the associated 'tomcat-users.xml' file and change or remove the affected set of credentials.

See Also

https://markmail.org/thread/wfu4nff5chvkb6xp

http://svn.apache.org/viewvc?view=revision&revision=834047

http://www.nessus.org/u?e7339edb

https://www.zerodayinitiative.com/advisories/ZDI-10-214/

https://seclists.org/fulldisclosure/2010/Oct/259

Plugin Details

Severity: Critical

ID: 34970

File Name: tomcat_manager_common_creds.nasl

Version: 1.39

Type: remote

Family: Web Servers

Published: 11/26/2008

Updated: 11/15/2018

Dependencies: tomcat_error_version.nasl

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*

Required KB Items: installed_sw/Apache Tomcat

Excluded KB Items: global_settings/supplied_logins_only

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Patch Publication Date: 11/9/2009

Exploitable With

Core Impact

Metasploit (Apache Tomcat Manager Authenticated Upload Code Execution)

Reference Information

CVE: CVE-2009-3548, CVE-2010-4094, CVE-2010-0557, CVE-2009-3099

BID: 36954, 38084, 36253, 37086, 44172

CWE: 255

EDB-ID: 18619, 31433

ZDI: ZDI-10-214