GoDAM <= 1.12.2 - Unauthenticated Arbitrary File Upload via WPForms File Upload Field
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 1 proof of concept on GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: total
Summary
The GoDAM – Organize WordPress Media Library & File Manager with Unlimited Folders for Images, Videos & more plugin for WordPress is vulnerable to arbitrary file uploads in versions up to, and including, 1.12.2. This is due to insufficient file type validation in the save_video_file() function hooked into WPForms' public wpforms_process_before_filter, which trusts the attacker-supplied multipart Content-Type header, preserves the original filename via wp_unique_filename(), and moves the raw upload with $wp_filesystem->move() into a web-served directory — bypassing wp_handle_upload()'s MIME/extension allowlist. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- rtcamp GoDAM – Organize WordPress Media Library & File Manager with Unlimited Folders for Images, Videos & more
through 1.12.2
References 9
plugins.trac.wordpress.org
- browser/godam/tags/1.11.2/inc/classes/wpforms/class-wpforms-field-godam-video.php#L38
- browser/godam/tags/1.11.2/inc/classes/wpforms/class-wpforms-field-godam-video.php#L403
- browser/godam/tags/1.12.2/inc/classes/wpforms/class-wpforms-field-godam-video.php#L403
- browser/godam/tags/1.12.2/inc/classes/wpforms/class-wpforms-field-godam-video.php#L377
- browser/godam/tags/1.12.2/inc/classes/wpforms/class-wpforms-field-godam-video.php#L38
- browser/godam/tags/1.11.2/inc/classes/wpforms/class-wpforms-field-godam-video.php#L377
- changeset?reponame=&old=3607513%40godam&new=3607513%40godam