Miggo Logo

CVE-2025-57757: Contao can disclose sensitive information in the news module

5.3

CVSS Score
3.1

Basic Information

EPSS Score
-
Published
8/28/2025
Updated
8/28/2025
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
contao/core-bundlecomposer>= 5.0.0-RC1, < 5.3.385.3.38
contao/core-bundlecomposer>= 5.4.0-RC1, < 5.6.15.6.1
contao/contaocomposer>= 5.0.0-RC1, < 5.3.385.3.38
contao/contaocomposer>= 5.4.0-RC1, < 5.6.15.6.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

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:

  1. Dependency Injection: The NewsFeedListener is now injected with the AuthorizationCheckerInterface, indicating that authorization checks are being added.
  2. Code Modification: The 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.
  3. New Filtering Logic: The new 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Imp**t I* * n*ws **** *ont*ins prot**t** n*ws *r**iv*s, t**ir n*ws it*ms *r* not *ilt*r** *n* ***om* pu*li*ly *v*il**l* in t** RSS ****. ### P*t***s Up**t* to *ont*o *.*.** or *.*.*. ### Work*roun*s *o not *** prot**t** n*ws *r**iv*s to t**

Reasoning

T** vuln*r**ility li*s in t** `n*ws-*un*l*` o* *ont*o, sp**i*i**lly wit*in t** `N*ws****List*n*r`. T** provi*** *ommit `****************************************` ***r*ss*s *n in*orm*tion *is*losur* vuln*r**ility w**r* prot**t** n*ws *rti*l*s w*r* **i
CVE-2025-57757: Contao News RSS Info Disclosure | Miggo