CVE-2021-45111
High · 8.1CVSS
8.1
EPSS
0.8%
Published
Apr 25, 2023
CISA due date
—
Cloudanix analysis
A flaw lets people already logged into the system create extra user accounts that anyone can guess the password for, giving attackers more ways to reach company data.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Improper access control permits remote authenticated users to invoke demonstration data creation routines that instantiate new user accounts preconfigured with static known credentials.
Why it matters to the business
Attackers can obtain additional accounts with predictable passwords, enabling lateral movement, data access, or privilege escalation inside the ERP instance without further authentication.
How an attack unfolds
An attacker authenticates with any valid low-privilege account, locates the demonstration data creation endpoint, triggers the routine, and receives newly created accounts whose credentials are publicly documented or easily guessed.
How to fix it
Upgrade Odoo Community and Enterprise to versions later than 15.0 that contain the corrected access control checks; alternatively, disable demonstration data creation in production configurations and remove any demo users created by the flaw.
How to confirm the fix worked
Review the source of the demonstration data creation controller to confirm authentication and authorization decorators are present; attempt to trigger demo data creation with a non-admin authenticated session and verify the action is rejected.
Typical attack path
- Obtain valid low-privilege credentials via prior compromise or social engineering
- Authenticate to the Odoo web interface
- Issue a request to the demonstration data creation controller
- Receive newly provisioned accounts and their static credentials
- Authenticate with the new accounts to expand access
How to detect it
Inspect web access logs for POST requests to demonstration data creation endpoints originating from non-admin sessions; search application logs for creation of users with names matching demo patterns and immediate subsequent authentication events.
What your security team should do
- Prioritize upgrade of all Odoo 15.0 and earlier instances to a patched release
- Audit existing user accounts for any unexpected demo-created entries
- Disable demo data functionality in production environments via configuration
- Monitor authentication logs for logins using known demo credentials
The record
Improper access control in Odoo Community 15.0 and earlier and Odoo Enterprise 15.0 and earlier allows remote authenticated users to trigger the creation of demonstration data, including user accounts with known credentials.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Bitnami | odoo | 0 | 15.0.0 |
| Bitnami | odoo | 0 | 15.0.1 |
| Debian:11 | odoo | 0 | 14.0.0+dfsg.2-7+deb11u1 |
| Debian:13 | odoo | 0 | 16.0.0+dfsg.1-1 |
| Ubuntu:22.04:LTS | odoo | 0 | No fix |
| Ubuntu:24.04:LTS | odoo | 0 | No fix |
| Ubuntu:24.10 | odoo | 0 | No fix |
| Ubuntu:25.04 | odoo | 0 | No fix |
| Ubuntu:25.10 | odoo | 0 | No fix |
Related vulnerabilities
- CVE-2021-44476 A sandboxing issue in Odoo Community 15.0 and earlier and Odoo Enterprise 15.0 and… Also affects odoo
- CVE-2021-44775 Cross-site scripting (XSS) issue in Website app of Odoo Community 15.0 and earlier and… Also affects odoo
- CVE-2021-44460 Improper access control in Odoo Community 13.0 and earlier and Odoo Enterprise 13.0 and… Also affects odoo
- CVE-2021-44547 A sandboxing issue in Odoo Community 15.0 and Odoo Enterprise 15.0 allows authenticated… Also affects odoo
- CVE-2021-44465 Improper access control in Odoo Community 13.0 and earlier and Odoo Enterprise 13.0 and… Also affects odoo
- CVE-2021-45071 Cross-site scripting (XSS) issue Odoo Community 15.0 and earlier and Odoo Enterprise 15.0… Also affects odoo
- CVE-2024-4367 A type check was missing when handling fonts in PDF.js, which would allow arbitrary… Also affects odoo
- CVE-2024-34342 react-pdf displays PDFs in React apps. Also affects odoo