CVE-2020-26258 Server-Side Forgery Request can be activated unmarshalling with XStream
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.15, a Server-Side Forgery Request vulnerability can be activated when unmarshalling. The vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.15. The reported vulnerability does not exist if running Java 15 or higher. No user is affected who followed the recommendation to setup XStream's Security Framework with a whitelist! Anyone relying on XStream's default blacklist can immediately switch to a whilelist for the allowed types to avoid the vulnerability. Users of XStream 1.4.14 or below who still want to use XStream default blacklist can use a workaround described in more detailed in the referenced advisories.
Upgrade path
13 packages: 10 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| apache struts | < 6.0.0 | 6.0.0 | Fixed |
| com.thoughtworks.xstream/xstream(Maven) | < 1.4.15; = 0.1; = 0.2; = 0.3 +36 more | 1.4.15 | Fixed |
| debian/libxstream-java(Debian 12) | < 1.4.15-1 | 1.4.15-1 | Fixed |
| debian/libxstream-java(Debian 13) | < 1.4.15-1 | 1.4.15-1 | Fixed |
| debian/libxstream-java(Debian 14) | < 1.4.15-1 | 1.4.15-1 | Fixed |
| ubuntu/libxstream-java(Ubuntu 18.04) | < 1.4.11.1-1~18.04.1; = 1.4.10-1; = 1.4.11.1-1~18.04 | 1.4.11.1-1~18.04.1 | Fixed |
| ubuntu/libxstream-java(Ubuntu 20.04) | < 1.4.11.1-1ubuntu0.1; = 1.4.11.1-1 | 1.4.11.1-1ubuntu0.1 | Fixed |
| ubuntu/libxstream-java(Ubuntu Pro 14.04) | < 1.4.7-1ubuntu0.1+esm2; = 1.4.4-1; = 1.4.7-1; = 1.4.7-1ubuntu0.1 +1 more | 1.4.7-1ubuntu0.1+esm2 | Fixed |
| ubuntu/libxstream-java(Ubuntu Pro 16.04) | < 1.4.8-1ubuntu0.1+esm3; = 1.4.8-1; = 1.4.8-1ubuntu0.1; = 1.4.8-1ubuntu0.1+esm1 +1 more | 1.4.8-1ubuntu0.1+esm3 | Fixed |
| xstream | < 1.4.15 | 1.4.15 | Fixed |
| debian linux | = 9.0; = 10.0 | No fix listed | Versions listed |
| fedoraproject fedora | = 33; = 34; = 35 | No fix listed | Versions listed |
| x-stream xstream | = < 1.4.15 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| com.thoughtworks.xstream/xstream(Maven) | < 1.4.15 | 1.4.15 |
| com.thoughtworks.xstream/xstream(Maven) | = 0.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 0.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 0.3 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 0.5 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 0.6 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.0 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.0.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.0.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.1.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.1.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.1.3 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.2.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.2.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.3 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.3.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.1 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.10 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.10-java7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.11 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.11-java7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.11.1 | No fix listed |
Show 41 more
| Product | Affected versions | Fixed in |
|---|---|---|
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.12 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.12-java7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.13 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.13-java7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.14 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.14-java7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.14-jdk7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.2 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.3 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.4 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.5 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.6 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.7 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.8 | No fix listed |
| com.thoughtworks.xstream/xstream(Maven) | = 1.4.9 | No fix listed |
| debian/libxstream-java(Debian:12) | < 1.4.15-1 | 1.4.15-1 |
| debian/libxstream-java(Debian:13) | < 1.4.15-1 | 1.4.15-1 |
| debian/libxstream-java(Debian:14) | < 1.4.15-1 | 1.4.15-1 |
| x-stream xstream | = < 1.4.15 | No fix listed |
| apache struts | < 6.0.0 | 6.0.0 |
| xstream | < 1.4.15 | 1.4.15 |
| debian linux | = 9.0 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| fedoraproject fedora | = 33 | No fix listed |
| fedoraproject fedora | = 34 | No fix listed |
| fedoraproject fedora | = 35 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:14.04) | < 1.4.7-1ubuntu0.1+esm2 | 1.4.7-1ubuntu0.1+esm2 |
| ubuntu/libxstream-java(Ubuntu:Pro:14.04) | = 1.4.4-1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:14.04) | = 1.4.7-1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:14.04) | = 1.4.7-1ubuntu0.1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:14.04) | = 1.4.7-1ubuntu0.1+esm1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:16.04) | < 1.4.8-1ubuntu0.1+esm3 | 1.4.8-1ubuntu0.1+esm3 |
| ubuntu/libxstream-java(Ubuntu:Pro:16.04) | = 1.4.8-1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:16.04) | = 1.4.8-1ubuntu0.1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:16.04) | = 1.4.8-1ubuntu0.1+esm1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:Pro:16.04) | = 1.4.8-1ubuntu0.1+esm2 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:18.04) | < 1.4.11.1-1~18.04.1 | 1.4.11.1-1~18.04.1 |
| ubuntu/libxstream-java(Ubuntu:18.04) | = 1.4.10-1 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:18.04) | = 1.4.11.1-1~18.04 | No fix listed |
| ubuntu/libxstream-java(Ubuntu:20.04) | < 1.4.11.1-1ubuntu0.1 | 1.4.11.1-1ubuntu0.1 |
| ubuntu/libxstream-java(Ubuntu:20.04) | = 1.4.11.1-1 | No fix listed |
References
- https://github.com/x-stream/xstream/security/advisories/GHSA-4cch-wxpw-8p28 issue-tracking mitigation third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- [struts-commits] 20201221 [struts] branch master updated: Upgrades XStream to version 1.4.15 to address CVE-2020-26258, CVE-2020-26259 issue-tracking mailing-list
- https://lists.apache.org/thread.html/r97993e3d78e1f5389b7b172ba9f308440830ce5f051ee62714a0aa34@%3Ccommits.struts.apache.org%3E issue-tracking mailing-list
- https://lists.debian.org/debian-lts-announce/2020/12/msg00042.html mailing-list third-party-advisory
- FEDORA-2021-fbad11014a mailing-list vendor-advisory
- FEDORA-2021-5e376c0ed9 mailing-list vendor-advisory
- FEDORA-2021-d894ca87dc mailing-list vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP mailing-list
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7 mailing-list
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB mailing-list
- https://security.netapp.com/advisory/ntap-20210409-0005 third-party-advisory
- https://www.debian.org/security/2021/dsa-4828 third-party-advisory vendor-advisory
- https://x-stream.github.io/CVE-2020-26258.html exploit issue-tracking mitigation third-party-advisory
- github.com
- Debian Security Tracker CVE-2020-26258 vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking
- ubuntu.com vendor-advisory
- ENISA EUVD EUVD-2020-1481 third-party-advisory