{
  "CVE_data_meta": {
    "ID": "CVE-2022-0537",
    "ASSIGNER": "contact@wpscan.com",
    "STATE": "PUBLIC",
    "TITLE": "MapPress Maps for WordPress < 2.73.13 - Admin+ File Upload to Remote Code Execution"
  },
  "data_format": "MITRE",
  "data_type": "CVE",
  "data_version": "4.0",
  "generator": "WPScan CVE Generator",
  "affects": {
    "vendor": {
      "vendor_data": [
        {
          "vendor_name": "Unknown",
          "product": {
            "product_data": [
              {
                "product_name": "MapPress Maps for WordPress",
                "version": {
                  "version_data": [
                    {
                      "version_affected": "<",
                      "version_name": "2.73.13",
                      "version_value": "2.73.13"
                    }
                  ]
                }
              }
            ]
          }
        }
      ]
    }
  },
  "description": {
    "description_data": [
      {
        "lang": "eng",
        "value": "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."
      }
    ]
  },
  "references": {
    "reference_data": [
      {
        "refsource": "MISC",
        "url": "https://wpscan.com/vulnerability/abfbba70-5158-4990-98e5-f302361db367",
        "name": "https://wpscan.com/vulnerability/abfbba70-5158-4990-98e5-f302361db367"
      }
    ]
  },
  "problemtype": {
    "problemtype_data": [
      {
        "description": [
          {
            "value": "CWE-434 Unrestricted Upload of File with Dangerous Type",
            "lang": "eng"
          }
        ]
      }
    ]
  },
  "credit": [
    {
      "lang": "eng",
      "value": "qerogram"
    }
  ],
  "source": {
    "discovery": "EXTERNAL"
  }
}
