HTTP response splitting in nodejs-current (Alpine package)



Published: 2018-03-30
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-7159
CWE-ID CWE-113
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
nodejs-current (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) HTTP response splitting

EUVDB-ID: #VU12575

Risk: Low

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2018-7159

CWE-ID: CWE-113 - Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Response Splitting')

Exploit availability: No

Description

The vulnerability allows a remote attacker to write arbitrary files on the target system.

The weakness exists due to spaces in Content-Length HTTP headers from Node.js’s HTTP module entirely ignore spaces within the value, despite the HTTP specification not allowing spaces within the values. A remote attacker can confuse the script and write arbitrary files.

Mitigation

Install update from vendor's website.

Vulnerable software versions

nodejs-current (Alpine package): 9.10.0-r1

CPE2.3 External links

http://git.alpinelinux.org/aports/commit/?id=d30e50323c5f1784719c4be7a9c21388b2ac6dcb
http://git.alpinelinux.org/aports/commit/?id=1aa8e874f9c4fdb5cfcfc5d7352d208b585e511a
http://git.alpinelinux.org/aports/commit/?id=cd513848ae0073ddc8e9977440cb3342e1cc0cad


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###