busybox does not verify TLS connections with CONFIG_FEATURE_WGET_OPENSSL=y and CONFIG_FEATURE_WGET_HTTPS unset, and doesn't warn either about it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
busybox (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* CONFIG_
* CONFIG_
* CVE-2018-1000500 ensured that when CONFIG_
* However, when one configures with CONFIG_
* Also TLS verification is not performed under OPENSSL case.
* When performing https requests, it works openssl s_client and communicates with it to perform https download
* Whilst doing so, it does not pass `-verify_
* There is no warning that TLS verification was not performed
[Test Case]
* Preparation: sudo apt install busybox; or build busybox with CONFIG_
* Test case: /bin/busybox wget https:/
* Expected: download failed, or download suceeds with warning printed that verification is disabled
* Observed: download success without a warning that verification is disabled.
$ /bin/busybox wget https:/
Connecting to untrusted-
index.html 100% |******
$ cat index.html | grep certificate
The certificate for this site is signed using an untrusted root.
[Regression Potential]
* The fact that /bin/busybox wget https:// succeeds without TLS verification might be relied upon. If this issue is fixed, ensure that `--no-check-
[Other Info]
* Proposed fix
pass `-verify_
CVE References
summary: |
busybox does not verify TLS connections with - CONFIG_FEATURE_WGET_OPENSSL=y config option + CONFIG_FEATURE_WGET_OPENSSL=y and CONFIG_FEATURE_WGET_HTTPS unset, and + doesn't warn either about it |
description: | updated |
description: | updated |
information type: | Private Security → Public Security |
Changed in busybox (Ubuntu Groovy): | |
status: | New → Fix Committed |
tags: | added: patch |
tags: | added: id-5ec405c08ffc87364ab8cf50 |
This is already known as CVE-2018-1000500
This is what upstream did:
https:/ /git.busybox. net/busybox/ commit/ networking/ wget.c? id=0972c7f7a570 c38edb68e1c60a4 5614b7a7c7d55