Vulnerability · Published Jul 9, 2024 · Assigned by GitHub_M
CVE-2024-39899PrivateBin allows shortening of URLs for other domains
Medium 5.3
In plain English
A medium-severity security flaw in PrivateBin from PrivateBin. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
PrivateBin is an online pastebin where the server has zero knowledge of pasted data. In v1.5, PrivateBin introduced the YOURLS server-side proxy. The idea was to allow using the YOURLs URL shortener without running the YOURLs instance without authentication and/or exposing the authentication token to the public, allowing anyone to shorten any URL. With the proxy mechanism, anyone can shorten any URL pointing to the configured PrivateBin instance. The vulnerability allowed other URLs to be shortened, as long as they contain the PrivateBin instance, defeating the limit imposed by the proxy. This vulnerability is fixed in 1.7.4.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | privatebin/privatebin | 1.7.4 | GHSA-mqqj-fx8h-437j |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| PrivateBin | PrivateBin | >= 1.5.0, < 1.7.4 |
Weakness: CWE-305, CWE-791 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N