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

UsersWP < 1.2.3.1 - Subscriber+ User Avatar Override

Description

The plugin is missing access controls when updating a user avatar, and does not make sure file names for user avatars are unique, allowing a logged in user to overwrite another users avatar.

Proof of Concept

- Right click the thumbnail of another user and copy the image URL. It will be something like: wp-content/uploads/2022/02/myprofilepic_uwp_avatar_thumb.png.
- Create a local file called myprofilepic.png, and upload it as your new profile photo.
- Go check the other user again, and it should now have your profile photo.

More details:
https://youtu.be/OHnpCjdAvgg 

Affects Plugins

userswp
Fixed in version 1.2.3.1

References

CVE
CVE-2022-0442

Classification

Type

IDOR

OWASP top 10
A5: Broken Access Control
CWE
CWE-639

Miscellaneous

Original Researcher

Felipe de Avila

Submitter

Felipe de Avila

Submitter twitter
ofelipedeavila
Verified

Yes

WPVDB ID
9cf0822a-c9d6-4ebc-b905-95b143d1a692

Timeline

Publicly Published

2022-02-14 (about 4 months ago)

Added

2022-02-14 (about 4 months ago)

Last Updated

2022-04-08 (about 3 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 serviceDisclosure policy
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us