{"id":"CVE-2024-39899","published":"2024-07-09T18:57:50Z","modified":"2024-08-02T04:33:11Z","title":"PrivateBin allows shortening of URLs for other domains","vendor":"PrivateBin","product":"PrivateBin","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00627,"percentile":0.50988,"provenance":"source"},"cwes":[{"id":"CWE-305","name":"Authentication Bypass by Primary Weakness"},{"id":"CWE-791","name":"Incomplete Filtering of Special Elements"}],"references":[{"url":"https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-mqqj-fx8h-437j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/PrivateBin/PrivateBin/pull/1370","tags":["x_refsource_MISC"]},{"url":"https://github.com/PrivateBin/PrivateBin/commit/0c4e810e6728f67d678458838d8430dfba4fcca4","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":10.2},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"privatebin","affectedVersions":[{"vendor":"PrivateBin","product":"PrivateBin","versions":[">= 1.5.0, < 1.7.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-07-10T14:31:16.074596Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"privatebin/privatebin","vulnerableRanges":[">=1.5.0, <1.7.4"],"patched":["1.7.4"],"from":["GHSA-mqqj-fx8h-437j"],"provenance":"source"}],"summary":{"text":"PrivateBin's YOURLS server-side proxy, introduced in v1.5, lets the shortener be used without exposing its authentication token, and the flaw lies in that proxy's URL filtering. An unauthenticated remote attacker can shorten arbitrary URLs by embedding the configured PrivateBin instance's address within them, since the filtering only checks for that instance and so bypasses the intended restriction; no user interaction or special configuration is described beyond the proxy being in use.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:18Z"},"euvd":{"id":"EUVD-2024-2387","exploited":false,"provenance":"source"}}