SecurityContext

CVE-2024-55556: InvoiceShelf - Remote Code Execution

  • Cve: CVE-2024-55556
  • Name: InvoiceShelf - Remote Code Execution
  • Description: A vulnerability in Crater Invoice allows an unauthenticated attacker with knowledge of the APP_KEY to achieve remote command execution on the server by manipulating the laravel_session cookie, exploiting arbitrary deserialization through the encrypted session data. The exploitation vector of this vulnerability relies on an attacker obtaining Laravel's secret APP_KEY, which would allow them to decrypt and manipulate session cookies (laravel_session) containing serialized data. By altering this data and re-encrypting it with the APP_KEY, the attacker could trigger arbitrary deserialization on the server, potentially leading to remote command execution (RCE). The vulnerability is primarily exploited by accessing an exposed cookie and manipulating it using the secret key to gain malicious access to the server.
  • Impact: Attackers can execute arbitrary code remotely, leading to full server compromise.
  • Remediation: Update to the latest version of InvoiceShelf that addresses this vulnerability or apply security patches.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirements: Attacker needs knowledge of APP_KEY
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.43906
  • Epss percentile: 0.9877
  • Assignee: [email protected]
  • Published at: 2025-01-07T16:15:37Z
  • Age in days: 686
  • Modified at: 2026-06-17T08:11:14Z
  • Public exploits total: 1
  • References total: 4
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-55556
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, public exploits capped, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-502Deserialization of Untrusted Data

Nuclei templates

IdUrl
CVE-2024-55556https://github.com/projectdiscovery/nuclei-templates/blob/main/code/cves/2024/CVE-2024-55556.yaml

Public exploits

UrlSourceAdded date
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/invoiceshelf_unauth_rce_cve_2024_55556.rbmetasploit2024-12-13

References

UrlSourceTags
https://github.com/projectdiscovery/nuclei-templates/blob/main/code/cves/2024/CVE-2024-55556.yamlnuclei_templateNuclei Template
https://github.com/crater-invoice/craternvd
https://www.synacktiv.com/nvd
https://www.synacktiv.com/advisories/crater-invoice-unauthenticated-remote-command-execution-when-appkey-knownnvd

Index

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

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-12-13
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, initial access since, hackerone reports, exposed hosts

Nuclei template