CVE-2018-1000120
published 2018-03-14CVE-2018-1000120: A buffer overflow exists in curl 7.12.3 to and including curl 7.58.0 in the FTP URL handling that allows an attacker to cause a denial of service or worse.
PriorityP354critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
12.06%
95.7th percentile
A buffer overflow exists in curl 7.12.3 to and including curl 7.58.0 in the FTP URL handling that allows an attacker to cause a denial of service or worse.
Affected
25 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | curl | < curl 7.60.0-1 (bookworm) | curl 7.60.0-1 (bookworm) |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| haxx | curl | >= 0 < 7.60.0-1 | 7.60.0-1 |
| haxx | curl | >= 0 < 7.60.0-1 | 7.60.0-1 |
| haxx | curl | >= 0 < 7.60.0-1 | 7.60.0-1 |
| haxx | curl | >= 0 < 7.60.0-1 | 7.60.0-1 |
| haxx | curl | >= 0 < 7.35.0-1ubuntu2.15 | 7.35.0-1ubuntu2.15 |
| haxx | curl | >= 0 < 7.47.0-1ubuntu2.7 | 7.47.0-1ubuntu2.7 |
| haxx | curl | 7.12.3 – 7.58.0 | — |
| haxx | curl | >= 7.12.3 | — |
| oracle | communications_webrtc_session_controller | < 7.2 | 7.2 |
| oracle | enterprise_manager_ops_center | — | — |
| oracle | enterprise_manager_ops_center | — | — |
| oracle | peoplesoft_enterprise_peopletools | — | — |
| oracle | peoplesoft_enterprise_peopletools | — | — |
| oracle | peoplesoft_enterprise_peopletools | — | — |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
curl FTP path confusion leads to NIL byte out of bounds write
ghsa·2022-05-14
CVE-2018-1000120 [CRITICAL] CWE-787 curl FTP path confusion leads to NIL byte out of bounds write
curl FTP path confusion leads to NIL byte out of bounds write
curl can be coerced into writing a zero byte out of bounds.
This bug can trigger when curl is told to work on an FTP URL, with the setting to only issue a single CWD command (--ftp-method singlecwd or the libcurl alternative [CURLOPT_FTP_FILEMETHOD](https://curl.se/libcurl/c/CURLOPT_FTP_FILEMETHOD.html)).
curl then URL-decodes the given path, calls strlen() on the result and deducts the length of the file name part to find the end of the directory within the buffer. It then writes a zero byte on that index, in a buffer allocated on the heap.
If the directory part of the URL contains a `%00` sequence, the directory length might end up shorter than the file name path, making the calculation `size_t index = directory_len - file
OSV
curl FTP path confusion leads to NIL byte out of bounds write
osv·2022-05-14
CVE-2018-1000120 [CRITICAL] curl FTP path confusion leads to NIL byte out of bounds write
curl FTP path confusion leads to NIL byte out of bounds write
curl can be coerced into writing a zero byte out of bounds.
This bug can trigger when curl is told to work on an FTP URL, with the setting to only issue a single CWD command (--ftp-method singlecwd or the libcurl alternative [CURLOPT_FTP_FILEMETHOD](https://curl.se/libcurl/c/CURLOPT_FTP_FILEMETHOD.html)).
curl then URL-decodes the given path, calls strlen() on the result and deducts the length of the file name part to find the end of the directory within the buffer. It then writes a zero byte on that index, in a buffer allocated on the heap.
If the directory part of the URL contains a `%00` sequence, the directory length might end up shorter than the file name path, making the calculation `size_t index = directory_len - file
OSV
curl vulnerabilities
osv·2018-03-15·CVSS 9.8
CVE-2018-1000120 [CRITICAL] curl vulnerabilities
curl vulnerabilities
Phan Thanh discovered that curl incorrectly handled certain FTP paths. An
attacker could use this to cause a denial of service or possibly execute
arbitrary code. (CVE-2018-1000120)
Dario Weisser discovered that curl incorrectly handled certain LDAP URLs.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2018-1000121)
Max Dymond discovered that curl incorrectly handled certain RTSP data. An
attacker could possibly use this to cause a denial of service or even to
get access to sensitive data. (CVE-2018-1000122)
OSV
CVE-2018-1000120: A buffer overflow exists in curl 7
osv·2018-03-14·CVSS 9.8
CVE-2018-1000120 [CRITICAL] CVE-2018-1000120: A buffer overflow exists in curl 7
A buffer overflow exists in curl 7.12.3 to and including curl 7.58.0 in the FTP URL handling that allows an attacker to cause a denial of service or worse.
Ubuntu
curl vulnerabilities
vendor_ubuntu·2018-05-24·CVSS 9.8
CVE-2018-1000120 [CRITICAL] curl vulnerabilities
Title: curl vulnerabilities
Summary: Several security issues were fixed in curl.
USN-3598-1 fixed a vulnerability in curl. This update provides
the corresponding update for Ubuntu 12.04 ESM.
Original advisory details:
Phan Thanh discovered that curl incorrectly handled certain FTP paths. An
attacker could use this to cause a denial of service or possibly execute
arbitrary code. (CVE-2018-1000120)
Dario Weisser discovered that curl incorrectly handled certain LDAP URLs.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2018-1000121)
Max Dymond discovered that curl incorrectly handled certain RTSP data. An
attacker could possibly use this to cause a denial of service or even to
get access to sensitive data. (CVE-2018-1000122)
Max Dymond discovered that curl
Ubuntu
curl vulnerabilities
vendor_ubuntu·2018-03-15·CVSS 9.8
CVE-2018-1000120 [CRITICAL] curl vulnerabilities
Title: curl vulnerabilities
Summary: Several security issues were fixed in curl.
Phan Thanh discovered that curl incorrectly handled certain FTP paths. An
attacker could use this to cause a denial of service or possibly execute
arbitrary code. (CVE-2018-1000120)
Dario Weisser discovered that curl incorrectly handled certain LDAP URLs.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2018-1000121)
Max Dymond discovered that curl incorrectly handled certain RTSP data. An
attacker could possibly use this to cause a denial of service or even to
get access to sensitive data. (CVE-2018-1000122)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
curl: FTP path trickery leads to NIL byte out of bounds write
vendor_redhat·2018-03-14·CVSS 9.8
CVE-2018-1000120 [CRITICAL] CWE-787 curl: FTP path trickery leads to NIL byte out of bounds write
curl: FTP path trickery leads to NIL byte out of bounds write
A buffer overflow exists in curl 7.12.3 to and including curl 7.58.0 in the FTP URL handling that allows an attacker to cause a denial of service or worse.
It was found that libcurl did not safely parse FTP URLs when using the CURLOPT_FTP_FILEMETHOD method. An attacker, able to provide a specially crafted FTP URL to an application using libcurl, could write a NULL byte at an arbitrary location, resulting in a crash or an unspecified behavior.
Mitigation: Preventing application from using non-default CURLOPT_FTP_FILEMETHOD will avoid triggering the vulnerable code.
Package: rh-dotnetcore10-curl (.NET Core 1.0 on Red Hat Enterprise Linux) - Out of support scope
Package: rh-dotnetcore11-curl (.NET Core 1.1 on Red Hat Enterpris
Debian
CVE-2018-1000120: curl - A buffer overflow exists in curl 7.12.3 to and including curl 7.58.0 in the FTP ...
vendor_debian·2018·CVSS 9.8
CVE-2018-1000120 [CRITICAL] CVE-2018-1000120: curl - A buffer overflow exists in curl 7.12.3 to and including curl 7.58.0 in the FTP ...
A buffer overflow exists in curl 7.12.3 to and including curl 7.58.0 in the FTP URL handling that allows an attacker to cause a denial of service or worse.
Scope: local
bookworm: resolved (fixed in 7.60.0-1)
bullseye: resolved (fixed in 7.60.0-1)
forky: resolved (fixed in 7.60.0-1)
sid: resolved (fixed in 7.60.0-1)
trixie: resolved (fixed in 7.60.0-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-1000120 CVE-2018-1000121 CVE-2018-1000122 curl: various flaws [fedora-all]
bugzilla·2018-03-14·CVSS 9.8
CVE-2018-1000120 [CRITICAL] CVE-2018-1000120 CVE-2018-1000121 CVE-2018-1000122 curl: various flaws [fedora-all]
CVE-2018-1000120 CVE-2018-1000121 CVE-2018-1000122 curl: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported ve
Bugzilla
CVE-2018-1000120 CVE-2018-1000121 CVE-2018-1000122 mingw-curl: various flaws [fedora-all]
bugzilla·2018-03-14·CVSS 9.8
CVE-2018-1000120 [CRITICAL] CVE-2018-1000120 CVE-2018-1000121 CVE-2018-1000122 mingw-curl: various flaws [fedora-all]
CVE-2018-1000120 CVE-2018-1000121 CVE-2018-1000122 mingw-curl: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple suppor
Bugzilla
CVE-2018-1000120 CVE-2018-1000121 CVE-2018-1000122 mingw-curl: various flaws [epel-7]
bugzilla·2018-03-14·CVSS 9.8
CVE-2018-1000120 [CRITICAL] CVE-2018-1000120 CVE-2018-1000121 CVE-2018-1000122 mingw-curl: various flaws [epel-7]
CVE-2018-1000120 CVE-2018-1000121 CVE-2018-1000122 mingw-curl: various flaws [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template to for t
Bugzilla
CVE-2018-1000120 curl: FTP path trickery leads to NIL byte out of bounds write
bugzilla·2018-03-07·CVSS 9.8
CVE-2018-1000120 [CRITICAL] CVE-2018-1000120 curl: FTP path trickery leads to NIL byte out of bounds write
CVE-2018-1000120 curl: FTP path trickery leads to NIL byte out of bounds write
It was found that curl can be fooled into writing a zero byte out of bounds.
This bug can trigger when curl is told to work on an FTP URL, with the setting
to only issue a single CWD command (`--ftp-method singlecwd` or the libcurl
alternative `CURLOPT_FTP_FILEMETHOD`).
curl then URL-decodes the given path, calls strlen() on the result and deducts
the length of the file name part to find the end of the directory within the
buffer. It then writes a zero byte on that index, in a buffer allocated on the
heap.
If the directory part of the URL contains a "%00" sequence, the directory
length might end up shorter than the file name path, making the calculation
`size_t index = directory_len - filepart_len` end up wi
arXiv
One Bad Apple Spoils the Barrel: Understanding the Security Risks Introduced by Third-Party Components in IoT Firmware
arxiv_fulltext·2022-12-29
One Bad Apple Spoils the Barrel: Understanding the Security Risks Introduced by Third-Party Components in IoT Firmware
One Bad Apple Spoils the Barrel: Understanding the Security Risks Introduced by Third-Party Components in IoT Firmware
## Abstract
Currently, the development of IoT firmware heavily depends on third-party components (TPCs) to improve development efficiency. Nevertheless, TPCs are not secure, and the vulnerabilities in TPCs will influence the security of IoT firmware. Existing works pay less attention to the vulnerabilities caused by TPCs, and we still lack a comprehensive understanding of the security impact of TPC vulnerability against firmware. To fill in the knowledge gap, we design and implement , which leverages syntactical features and control-flow graph features to detect the TPCs in firmware, and then recognizes the corresponding vulnerabilities. Based on , we present the first l
arXiv
Partially-Observable Security Games for Automating Attack-Defense Analysis
arxiv_fulltext·2022-11-02
Partially-Observable Security Games for Automating Attack-Defense Analysis
Partially-Observable Security Games for Automating Attack-Defense Analysis
Narges Khakpour
[email protected]
School of Computing, Newcastle University
Newcastle upon Tyne
UK
Department of Computer Science and Media Technology, Linnaeus University
Växjö
Sweden
David Parker
[email protected]
Department of Computer Science, Oxford University
Oxford
UK
## Abstract
Network systems often contain vulnerabilities that remain unfixed in a network for various reasons, such as the lack of a patch or knowledge to fix them. With the presence of such residual vulnerabilities, the network administrator should properly react to the malicious activities or proactively prevent them, by applying suitable countermeasures that minimize the likelihood of an attack by the attacker. In this
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.htmlhttp://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.htmlhttp://www.securityfocus.com/bid/103414http://www.securitytracker.com/id/1040531https://access.redhat.com/errata/RHBA-2019:0327https://access.redhat.com/errata/RHSA-2018:3157https://access.redhat.com/errata/RHSA-2018:3558https://access.redhat.com/errata/RHSA-2019:1543https://access.redhat.com/errata/RHSA-2020:0544https://access.redhat.com/errata/RHSA-2020:0594https://curl.haxx.se/docs/adv_2018-9cd6.htmlhttps://lists.debian.org/debian-lts-announce/2018/03/msg00012.htmlhttps://usn.ubuntu.com/3598-1/https://usn.ubuntu.com/3598-2/https://www.debian.org/security/2018/dsa-4136https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.htmlhttps://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.htmlhttps://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.htmlhttp://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.htmlhttp://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.htmlhttp://www.securityfocus.com/bid/103414http://www.securitytracker.com/id/1040531https://access.redhat.com/errata/RHBA-2019:0327https://access.redhat.com/errata/RHSA-2018:3157https://access.redhat.com/errata/RHSA-2018:3558https://access.redhat.com/errata/RHSA-2019:1543https://access.redhat.com/errata/RHSA-2020:0544https://access.redhat.com/errata/RHSA-2020:0594https://curl.haxx.se/docs/adv_2018-9cd6.htmlhttps://lists.debian.org/debian-lts-announce/2018/03/msg00012.htmlhttps://usn.ubuntu.com/3598-1/https://usn.ubuntu.com/3598-2/https://www.debian.org/security/2018/dsa-4136https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.htmlhttps://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.htmlhttps://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
2018-03-14
Published