Skip to content

Panindex vulnerable to hard coded cyptographic key

Critical
libsgh published GHSA-82wq-gmw8-g87v Mar 13, 2023

Package

gomod github.com/px-org/PanIndex (Go)

Affected versions

< v3.1.3

Patched versions

v3.1.3

Description

Impact

In Panindex version < v3.1.3, a hard coded JWT key "PanIndex" is used. Attacker can use hardcoded JWT key to sign JWT token, and perform any actions as a user with admin privileges.

Patches

The problem has been patched. Please upgrade to v3.1.3 or above.

Workarounds

Change JWT key in source code before you compile the project.

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVE ID

CVE-2023-27583

Weaknesses

Credits