/CVE-2017-8809_MediaWiki_RFD

CVE-2017-8809 Docker - RFD(Reflected File Download) for MediaWiki

Primary LanguagePHP

CVE-2017-8809 - RFD(Reflected File Download) for MediaWiki

A remote user can create a specially crafted URL for the target site that, when loaded by the target user, will cause the 'api.php' script to download a file containing shell commands [CVE-2017-8809]. The file will be served by the target site.

Environment

  • Google Chrome 79.0
  • MediaWiki 1.29.1

Using

  1. Run
$ docker-compose up
  1. Access trap page (http://127.0.0.1:8080/poc.html)

  2. Click "Click here"

Note

  • If change container port, edit $wgServer variable in mediawiki/LocalSettings.php.
  • MediaWiki Account admin / pass1234.

References