Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
April 25, 2024
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9145

People Online:
Visitors: 756
Members: 0
Total: 756
PacketStorm News
·301 Moved Permanently

read more...
[waraxe-2018-SA#108] - Username Disclosure in Breadcrumb NavXT Wordpress plugin





Author: Janek Vind "waraxe"
Date: 26. September 2018
Location: Estonia, Tartu
Web: http://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:

http://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"
}
}
}
]
}

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

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

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

{"@context":"http://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"http://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: http://www.waraxe.us/
Personal homepage: http://www.janekvind.com/









Copyright © by Waraxe IT Security Portal All Right Reserved.

Published on: 2018-09-26 (8282 reads)

[ Go Back ]
Top members by posts
waraxe  waraxe - 2407
vince213333  vince213333 - 737
pexli  pexli - 665
Mullog  Mullog - 540
demon  demon - 485
shai-tan  shai-tan - 477
LINUX  LINUX - 404
Cyko  Cyko - 375
tsabitah  tsabitah - 328
y3dips  y3dips - 281
SecurityFocus
Currently there is a problem with headlines from this site
alexa



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2020 Janek Vind "waraxe"
Page Generation: 0.155 Seconds