GHSA-q693-v7qf-p4xj CVE-2019-11819
Alkacon OpenCMS CSV Injection via New User module
- Severity
- 7.8 / 10
- High · CVSS 3.0
- Exploit chance (EPSS)
- 1.00%
- Chance of exploitation in the next 30 days. Higher than 62.85% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-1236 Improper Neutralization of Formula Elements in a CSV File
- Fix
11.0.0- Upgrade org.opencms:opencms-core to this version or later
Description
Alkacon OpenCMS v10.5.4 and before is affected by CSV (aka Excel Macro) Injection in the module New User (/opencms/system/workplace/admin/accounts/user_new.jsp) via the First Name or Last Name.
Affected versions
Maven
| Package | Vulnerable | Fixed in |
|---|---|---|
| org.opencms:opencms-core | < 11.0.0 |
11.0.0 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
org.opencms:opencms-core Maven → 11.0.0
- maven
<dependency><groupId>org.opencms</groupId><artifactId>opencms-core</artifactId><version>11.0.0</version></dependency>- gradle
implementation("org.opencms:opencms-core:11.0.0")
Severity breakdown
CVSS 3.0 7.8
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Weakness
CWE-1236: Improper Neutralization of Formula Elements in a CSV File
The product saves user-provided information into a Comma-Separated Value (CSV) file, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as a command when the file is opened by a spreadsheet product.
How to prevent it
- Implementation: When generating CSV output, ensure that formula-sensitive metacharacters are effectively escaped or removed from all data before storage in the resultant CSV. Risky characters include '=' (equal), '+' (plus), '-' (minus), and '@' (at).
- Implementation: If a field starts with a formula character, prepend it with a ' (single apostrophe), which prevents Excel from executing the formula.
- Architecture and Design: Certain implementations of spreadsheet software might disallow formulas from executing if the file is untrusted, or if the file is not authored by the current user.
References
Advisories
Packages
Other links
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-pj6p-9p8x-5mfc Alkacon OpenCms is vulnerable to XXE when the <!DOCTYPE> refers to an external host | High | Also affects org.opencms:opencms-core |
| GHSA-2887-f3v6-6rjf Alkacon OpenCms is vulnerable to XSS via updateModelGroups.jsp | Medium | Also affects org.opencms:opencms-core |
| GHSA-rcc6-6q2f-m2cw Alkacon OpenCms allows remote unauthenticated attackers to obtain sensitive information | High | Also affects org.opencms:opencms-core |
| GHSA-8gpv-c454-3hfc Alkacon OpenCms is vulnerable to XSS via cmis-online/type | Medium | Also affects org.opencms:opencms-core |
| GHSA-h75c-f2xx-9vxv OpenCMS Cross-Site Scripting vulnerability | Medium | Also affects org.opencms:opencms-core |
| GHSA-7m3w-m5g3-cc88 OpenCMS cross-site scripting (XSS) vulnerability | Medium | Also affects org.opencms:opencms-core |
| GHSA-vq95-6x79-qv8j Alkacon OpenCMS stored cross-site scripting (XSS) vulnerability | Medium | Also affects org.opencms:opencms-core |
| GHSA-vg6x-pchq-98mg OpenCMS Cross-Site Scripting vulnerability | Medium | Also affects org.opencms:opencms-core |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor