6.9 MEDIUM
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Vulnerable System Impact Confidentiality (VC): None (N)
- Vulnerable System Impact Integrity (VI): Low (L)
- Vulnerable System Impact Availability (VA): None (N)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Vulnerable System Impact Confidentiality (MVC): None (N)
- Modified Vulnerable System Impact Integrity (MVI): Low (L)
- Modified Vulnerable System Impact Availability (MVA): None (N)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
13 packages
- free5gc-amf
- free5gc-bsf
- free5gc-chf
- free5gc-nef
- free5gc-nrf
- free5gc-pcf
- free5gc-smf
- free5gc-udm
- free5gc-upf
- free5gc-ausf
- free5gc-nssf
- free5gc-tngf
- free5gc-n3iwf
- @LeSuisse accepted
- @LeSuisse published on GitHub
free5GC: UDR Improper ueId validation in free5GC EE subscription handlers allows arbitrary identifier persistence
free5GC is an open-source implementation of the 5G core network. In 4.2.3 and earlier, HandleCreateEeSubscriptions and HandleQueryeesubscriptions in free5gc/udr internal/sbi/api_datarepository.go validate the ueId path value with a regular expression whose final .+ alternative accepts every non-empty string instead of restricting identifiers to supported SUPI and GPSI formats. An actor with network reachability to the UDR SBI can submit a non-3GPP identifier to /nudr-dr/v2/subscription-data/{ueId}/context-data/ee-subscriptions, causing the identifier to pass validation and enter the normal create or query flow. The advisory does not independently establish whether authentication is required. Invalid identifiers can be persisted and retrieved as subscription records, enabling unauthorized data creation, UDR namespace pollution, persistent subscriber-metadata corruption, and interference with downstream components that trust stored identifiers to use valid 3GPP formats. The exposure is most relevant in lab, test, or loosely segmented service-based-interface deployments where direct UDR access is possible.
References
-
https://github.com/free5gc/free5gc/security/advisories/GHSA-6gxq-gpr8-xgjp exploitx_refsource_CONFIRM
Affected products
- ==<= 4.2.2
Matching in nixpkgs
pkgs.free5gc-udr
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.4
Ignored packages (13)
pkgs.free5gc-amf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.5
pkgs.free5gc-bsf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.0.4
pkgs.free5gc-chf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.2.5
pkgs.free5gc-nef
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.2.5
pkgs.free5gc-nrf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.5
pkgs.free5gc-pcf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.5
pkgs.free5gc-smf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.5
pkgs.free5gc-udm
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.5
pkgs.free5gc-upf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.2.12
pkgs.free5gc-ausf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.5
pkgs.free5gc-nssf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.5
pkgs.free5gc-tngf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.1.5
pkgs.free5gc-n3iwf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.3.5
Package maintainers
-
@felbinger Nico Felbinger <nico@felbinger.eu>