MediaWiki user Marco discovered that security checks for file
uploads were not being run when the file was uploaded in chunks
through the API. This option has been available to users who can
upload files since MediaWiki 1.19.
This issue was fixed in MediaWiki v1.20.6 and MediaWiki v1.19.7.
- Upgrade to the latest version of MediaWiki.