SecurityContext

CVE-2024-57432: macrozheng mall-tiny - Broken Authentication

  • Cve: CVE-2024-57432
  • Name: macrozheng mall-tiny - Broken Authentication
  • Description: macrozheng mall-tiny 1.0.1 suffers from Insecure Permissions. The application's JWT signing keys are hardcoded and do not change. User information is explicitly written into the JWT and used for subsequent privilege management, making it is possible to forge the JWT of any user to achieve authentication bypass.
  • Impact: Attackers can forge JWTs to impersonate users, leading to authentication bypass and unauthorized access.
  • Remediation: Remove hardcoded signing keys, implement dynamic key management, and avoid embedding user info directly in JWTs.
  • Vulnerability type: hardcoded_credentials
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00537
  • Epss percentile: 0.45889
  • Assignee: [email protected]
  • Published at: 2025-01-31T17:15:15Z
  • Age in days: 662
  • Modified at: 2026-06-17T08:13:34Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-57432
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-287Improper Authentication

Public exploits

UrlSourceAdded date
https://github.com/peccc/restful_vul/blob/main/mall_tiny_weak_jwt/mall_tiny_weak_jwt.mdnvd2025-01-31

References

UrlSourceTags
https://github.com/peccc/restful_vul/blob/main/mall_tiny_weak_jwt/mall_tiny_weak_jwt.mdnvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
macrozheng:mall-tiny= 1.0.1nonvd/v1/products/macrozheng/mall-tiny

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-01-31
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts