Vulnerabilities · 2018 · Squareup
CVE-2018-1000850
Squareup Retrofit vulnerability
Square Retrofit version versions from (including) 2.0 and 2.5.0 (excluding) contains a Directory Traversal vulnerability in RequestBuilder class, method addPathParameter that can result in By manipulating the URL an attacker could add or delete resources otherwise unavailable to her.. This attack appear to be exploitable via An attacker should have access to an encoded path parameter on POST, PUT or DELETE request.. This vulnerability appears to have been fixed in 2.5.0 and later.
Affected products
Retrofit. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Squareup Retrofit runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/square/retrofit/commit/b9a7f6ad72073ddd40254c0058710e87a073047d#diff-943ec7ed35 · Patch
- github.com/square/retrofit/blob/master/CHANGELOG.md · Third Party Advisory
- ihacktoprotect.com/post/retrofit-path-traversal/ · Exploit
- access.redhat.com/errata/RHSA-2019:3892
- lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3
- lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3
- lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3
- nvd.nist.gov/vuln/detail/CVE-2018-1000850
- cve.org/CVERecord?id=CVE-2018-1000850
More vulnerabilities in Squareup products
CVE-2023-3782CVE-2023-3635CVE-2023-0833CVE-2021-23331CVE-2018-1000844CVE-2018-20200CVE-2016-2402CVE-2015-8969All 10
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.