CVE-2024-39899

PrivateBin allows shortening of URLs for other domains

State
Published
Severity
5.3 Medium
Published
Jul 9, 2024
Updated
Aug 2, 2024
Reserved
Jul 2, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NGitHub_M

Weaknesses

  • CWE-305 Authentication Bypass by Primary Weakness
  • CWE-791 Incomplete Filtering of Special Elements

Affected Products

ProductVersions
PrivateBinPrivateBin
  • >= 1.5.0, < 1.7.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.