CVE-2023-0610: Wallabag/wallabag Wallabag Subject To Improper Authorization Vulnerability
MODERATECVE-2023-0610 is a MODERATE (CVSS 5.4) wallabag subject to improper authorization vulnerability (General Security Weakness) affecting Wallabag/wallabag libraries in the Packagist ecosystem. The issue involves wallabag subject to improper authorization via annotations. Remediation is available by upgrading affected packages to version 2.5.3.
CVE-2023-0610 at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2023-0610
To remediate this vulnerability, upgrade all affected Wallabag/wallabag dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade wallabag/wallabag to 2.5.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for wallabag/wallabag
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-0610, inspect your project dependencies for Wallabag/wallabag:
inspect dependencies for wallabag/wallabag
Analyze the terminal output to locate any version of Wallabag/wallabag in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.5.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Wallabag/wallabag, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-0610 Affected Wallabag/wallabag Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
wallabag/wallabag
|
Packagist |
≥ 2.0.0-beta.1
< 2.5.3
|
2.5.3
|
References
Frequently Asked Questions
What is CVE-2023-0610?
Which Wallabag/wallabag versions are affected?
What version fixes CVE-2023-0610?
Is wallabag/wallabag affected?
What is the CVSS score of CVE-2023-0610?
What CWE is associated with CVE-2023-0610?
How can I check Packagist dependencies for CVE-2023-0610?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mrqx-mjc4-vfh3",
"modified" : "2023-02-02T19:27:16Z",
"published" : "2023-02-02T19:26:47Z",
"aliases" : [ "CVE-2023-0610" ],
"summary" : "wallabag subject to Improper Authorization via annotations",
"details" : "### Impact\nThe annotations feature lets users add annotations on highlighted parts of an entry.\n\nThe controller does not validate authorization on `PUT` and `DELETE` requests which lets a logged user modify or delete any annotation using their ID on their endpoints `example.org/annotations/{id}`.\n\nThese vulnerable requests also disclose highlighted parts of the entry to the attacker.\n\nYou should immediately patch your instance to version 2.5.3 or higher if you have more than one user and/or having open registration.\n\n### Resolution\n\nA user check is now done in the vulnerable methods before applying change on an annotation.\n\nThe Annotation retrieval through a `ParamConverter` has also been replaced with a call to the `AnnotationRepository` in order to prevent any information disclosure through response discrepancy.\n\n### Workarounds\n\n\n\n### Credits\n\nWe would like to thank @bAuh0lz for reporting this issue through huntr.dev.\n\nReference: https://huntr.dev/bounties/8fdd9b31-d89b-4bbe-9557-20b960faf926/\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "wallabag/wallabag"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0-beta.1"
}, {
"fixed" : "2.5.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/wallabag/wallabag/security/advisories/GHSA-mrqx-mjc4-vfh3"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-0610"
}, {
"type" : "WEB",
"url" : "https://github.com/wallabag/wallabag/commit/5ac6b6bff9e2e3a87fd88c2904ff3c6aac40722e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wallabag/wallabag"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/8fdd9b31-d89b-4bbe-9557-20b960faf926"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-02T19:26:47Z",
"nvd_published_at" : null
}
}