CVE-2024-48987
PHP vulnerability analysis and mitigation

Overview

CVE-2024-48987 affects Snipe-IT versions before 7.0.10, allowing remote code execution through cookie serialization when an attacker knows the APPKEY. The vulnerability was discovered in October 2024 and is particularly concerning because default APPKEY values were available in the product's repository .env files (NVD, Synacktiv).

Technical details

The vulnerability stems from the XSRF-TOKEN cookies using serialized ciphered data, which can lead to remote code execution if an attacker obtains the APPKEY. The issue is exacerbated by the presence of default APPKEY values in several .env template files in the main repository. When both conditions are met, an unauthenticated attacker could potentially compromise the system. The vulnerability was assigned a CVSS v3.1 Base Score of 6.6 (Medium) with the vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H (NVD, Synacktiv).

Impact

If successfully exploited, this vulnerability allows attackers to execute remote commands on affected servers when they have access to the APPKEY. The impact is particularly severe for installations that use default APPKEY values from the example configuration files (Synacktiv).

Mitigation and workarounds

The vulnerability was patched in Snipe-IT version 7.0.10 by removing cookie serialization. Users are strongly advised to upgrade to this version or later. Additionally, it is crucial to regenerate the APPKEY if using a default configuration. This can be done using the command 'php artisan key:generate'. The documentation emphasizes that APPKEY should never be shared with anyone and default values should never be used (GitHub Release, Synacktiv).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66468HIGH7.6
  • PHPPHP
  • aimeos/ai-cms-grapesjs
NoYesDec 02, 2025
CVE-2025-65657MEDIUM6.5
  • PHPPHP
  • feehi/cms
NoNoDec 02, 2025
CVE-2025-65186MEDIUM6.1
  • PHPPHP
  • getgrav/grav
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management