SecurityContext

CVE-2008-1687: GNU m4 - Server-Side Template Injection

  • Cve: CVE-2008-1687
  • Name: GNU m4 - Server-Side Template Injection
  • Description: The (1) maketemp and (2) mkstemp builtin functions in GNU m4 before 1.4.11 do not quote their output when a file is created, which might allow context-dependent attackers to trigger a macro expansion, leading to unspecified use of an incorrect filename.
  • Impact: Attackers can trigger macro expansion with manipulated filenames, potentially leading to incorrect file usage or other unspecified issues.
  • Remediation: Update to version 1.4.11 or later.
  • Vulnerability type: template_injection
  • Vulnerability impact: data_tampering
  • Requirement type: user_interaction
  • Requirements: Attacker needs to influence macro context
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Epss score: 0.0245
  • Epss percentile: 0.84789
  • Assignee: [email protected]
  • Published at: 2008-04-09T19:05:00Z
  • Age in days: 6803
  • Modified at: 2026-06-16T22:52:16Z
  • Patch available: yes
  • References total: 10
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2008-1687
  • Nvd status: modified
  • 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
NVD-CWE-Other—

References

Same in every row:

  • Source: nvd
UrlTags
http://secunia.com/advisories/29729Patch, Vendor Advisory
http://secunia.com/advisories/29671Vendor Advisory
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.510612
http://www.openwall.com/lists/oss-security/2008/04/07/1
http://www.openwall.com/lists/oss-security/2008/04/07/12
http://www.openwall.com/lists/oss-security/2008/04/07/3
http://www.openwall.com/lists/oss-security/2008/04/07/4
http://www.securityfocus.com/bid/28688
http://www.vupen.com/english/advisories/2008/1151/references
https://exchange.xforce.ibmcloud.com/vulnerabilities/41706

Products

ProductAffectedPlatform boundSourcesUrl
gnu:m4<= 1.4.10nonvd/v1/products/gnu/m4

Index

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

Exploitation

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