SecurityContext

CVE-2024-30372: Allegra - Server-Side Template Injection

  • Cve: CVE-2024-30372
  • Name: Allegra - Server-Side Template Injection
  • Description: Allegra getLinkText Server-Side Template Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Allegra. Authentication is required to exploit this vulnerability. The specific flaw exists within the implementation of getLinkText method. The issue results from the lack of proper validation of a user-supplied string before processing it with the template engine. An attacker can leverage this vulnerability to execute code in the context of LOCAL SERVICE. Was ZDI-CAN-23609.
  • Impact: Authenticated attackers can execute arbitrary code on the server, potentially leading to full system compromise.
  • Remediation: Implement proper validation of user input in getLinkText method and update to the latest version.
  • Vulnerability type: template_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
  • Epss score: 0.01161
  • Epss percentile: 0.68004
  • Assignee: [email protected]
  • Published at: 2024-11-22T20:15:08Z
  • Age in days: 732
  • Modified at: 2026-06-17T07:26:50Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-30372
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-1336Improper Neutralization of Special Elements Used in a Template Engine
NVD-CWE-Other—

References

UrlSourceTags
https://www.zerodayinitiative.com/advisories/ZDI-24-1165/nvdThird Party Advisory
https://alltena.com/en/resources/release-notes/relnotes-7-5-2nvdRelease Notes

Products

ProductAffectedPlatform boundSourcesUrl
alltena:allegra< 7.5.1nonvd/v1/products/alltena/allegra

Index

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

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts