{
  "CVE_data_meta": {
    "ID": "CVE-2022-3360",
    "ASSIGNER": "contact@wpscan.com",
    "STATE": "PUBLIC",
    "TITLE": "LearnPress < 4.1.7.2 - Unauthenticated PHP Object Injection via REST API"
  },
  "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": "LearnPress – WordPress LMS Plugin",
                "version": {
                  "version_data": [
                    {
                      "version_affected": "<",
                      "version_name": "4.1.7.2",
                      "version_value": "4.1.7.2"
                    }
                  ]
                }
              }
            ]
          }
        }
      ]
    }
  },
  "description": {
    "description_data": [
      {
        "lang": "eng",
        "value": "The LearnPress WordPress plugin before 4.1.7.2 unserialises user input in a REST API endpoint available to unauthenticated users, which could lead to PHP Object Injection when a suitable gadget is present, leadint to remote code execution (RCE). To successfully exploit this vulnerability attackers must have knowledge of the site secrets, allowing them to generate a valid hash via the wp_hash() function."
      }
    ]
  },
  "references": {
    "reference_data": [
      {
        "refsource": "CONFIRM",
        "url": "https://wpscan.com/vulnerability/acea7a54-a964-4127-a93f-f38f883074e3",
        "name": "https://wpscan.com/vulnerability/acea7a54-a964-4127-a93f-f38f883074e3"
      }
    ]
  },
  "problemtype": {
    "problemtype_data": [
      {
        "description": [
          {
            "value": "CWE-502 Deserialization of Untrusted Data",
            "lang": "eng"
          }
        ]
      }
    ]
  },
  "credit": [
    {
      "lang": "eng",
      "value": "Nguyen Duy Quoc Khanh"
    }
  ],
  "source": {
    "discovery": "EXTERNAL"
  }
}