-
CVSS Score
-Basic Information
CVE ID
-
GHSA ID
-
EPSS Score
-
CWE
-
Published
-
Updated
-
KEV Status
-
Technology
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| contao/core-bundle | composer | >= 5.0.0-RC1, < 5.3.38 | 5.3.38 |
| contao/core-bundle | composer | >= 5.4.0-RC1, < 5.6.1 | 5.6.1 |
| contao/contao | composer | >= 5.0.0-RC1, < 5.3.38 | 5.3.38 |
| contao/contao | composer | >= 5.4.0-RC1, < 5.6.1 | 5.6.1 |
The vulnerability lies in the news-bundle of Contao, specifically within the NewsFeedListener. The provided commit e75f46b11974fbf7a4652e65c19ad6ca84c59271 addresses an information disclosure vulnerability where protected news articles were being exposed in RSS feeds.
The analysis of the patch reveals the following:
NewsFeedListener is now injected with the AuthorizationCheckerInterface, indicating that authorization checks are being added.onFetchArticlesForFeed method in NewsFeedListener.php is modified. Previously, it would deserialize the newsArchives from the page model and directly use them. The patch adds a call to a new private method, sortOutProtected, to filter this list of archives.sortOutProtected method iterates through the provided news archive IDs, checks if the archive is marked as 'protected', and uses the authorizationChecker to verify if the current user has the appropriate group memberships to view it. Archives that are protected and for which the user lacks permission are filtered out.This clearly pinpoints Contao\NewsBundle\EventListener\NewsFeedListener::onFetchArticlesForFeed as the vulnerable function. It was the entry point for the logic that failed to perform necessary access control checks, leading to the information disclosure. The absence of the permission check in this function is the root cause of the vulnerability.
Ongoing coverage of React2Shell