CVE-2018-20028: Contao Information Disclosure via Access Control Flaws

contao/contao Updated 02 Oct 2025

Summary

13/05/2022
Yes i
Moderate
6.5

CVE-2018-20028: Contao Information Disclosure via Access Control Flaws. Affects contao/contao across 3 version ranges.

>= 3.0.0, < 3.5.37 >= 4.4.0, < 4.4.31 >= 4.6.0, < 4.6.11

Fixed in 3.5.37, 4.4.31 or 4.6.11, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Contao is an open-source content management system (CMS) that allows users to create and manage websites. It provides a range of features, including a user-friendly interface, customizable templates, and a powerful backend. Contao is widely used by developers and website administrators to build and maintain websites of various sizes and complexities. However, versions 3.x before 3.5.37, 4.4.x before 4.4.31, and 4.6.x before 4.6.11 of Contao are vulnerable to an information disclosure issue due to incorrect access control.

Vulnerability Detail

The vulnerability in Contao allows unauthorized users to gain access to sensitive information by bypassing access controls. This can lead to the exposure of confidential data, such as user credentials, personal information, or other sensitive data stored within the CMS. The vulnerability is considered moderate in severity with a CVSS score of 6.5. It can be exploited remotely without any authentication, making it a potential target for attackers.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 3.0.0, < 3.5.37 3.5.37
    composer require contao/contao:3.5.37
  • >= 4.4.0, < 4.4.31 4.4.31
    composer require contao/contao:4.4.31
  • >= 4.6.0, < 4.6.11 4.6.11
    composer require contao/contao:4.6.11

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, users can implement additional access control measures at the server level to restrict unauthorized access to sensitive files and directories. This can be achieved by configuring the web server to deny access to specific URLs or by implementing authentication mechanisms, such as password protection or IP whitelisting, for accessing sensitive areas of the website.

Conclusion

The information disclosure vulnerability in Contao can have serious consequences, including data breaches and privacy violations. It is crucial for users to update their Contao installations to the latest patched versions to mitigate the risk. Additionally, implementing additional access control measures at the server level can provide an extra layer of security. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for contao/contao →

Share this vulnerability

FAQ

The vulnerability allows unauthorized users to access sensitive information stored within Contao, potentially leading to data breaches and privacy violations.

Yes, the vulnerability can be exploited remotely without any authentication, making it a potential target for attackers.

There are no known instances of this vulnerability being exploited in the wild. However, it is important to apply the necessary updates to mitigate the risk.

Yes, Contao has released updates that address the access control flaws and prevent unauthorized access to sensitive information. It is recommended to update to the latest patched version.

You can find more information about this vulnerability, including technical details and the CVE identifier, in the official Contao security advisory.

Related vulnerabilities

Recent vulnerabilities recorded for contao/contao.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 3.0.0, < 3.5.37 3.5.37
    composer require contao/contao:3.5.37
  • >= 4.4.0, < 4.4.31 4.4.31
    composer require contao/contao:4.4.31
  • >= 4.6.0, < 4.6.11 4.6.11
    composer require contao/contao:4.6.11

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.