PT-2023-16399 · Wallabag · Wallabag

J0K3R

·

Published

2023-02-01

·

Updated

2023-02-08

·

CVE-2023-0609

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions wallabag versions prior to 2.5.3
Description The issue concerns an improper authorization vulnerability in the wallabag GitHub repository. It affects the export feature, which allows users to export entries in various formats, such as PDF, MOBI, or TXT, without proper ownership validation. This is due to a lack of access validation in the downloadEntryAction method. For example, a user can export an entry using the endpoint /export/45.pdf without being the owner of the entry. The vulnerability can lead to insecure direct object reference attacks, allowing logged-in users to export any single entry without validation.
Recommendations For versions prior to 2.5.3, update to version 2.5.3 or higher, especially if you have multiple users or open registration. As a temporary workaround, consider blocking requests to the endpoint /export/* to limit the risk of exploitation. This can be achieved by configuring your web server, for example, with nginx, using the following configuration:
location /export {
  deny all;
}

Exploit

Fix

Improper Authorization

Weakness Enumeration

Related Identifiers

CVE-2023-0609
GHSA-H45F-RJVW-2RV2
GHSA-QWX8-MXXX-MG96

Affected Products

Wallabag