Read the docs
TI-2024-38937 Aliases GHSA-hx3m-959f-v849

ZendFramework local file inclusion vector in `Zend_View::setScriptPath()` and `render()`

Priority LOW 38CWE-22Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

Zend_View is a component that utilizes PHP as a templating language. To utilize it, you specify "script paths" that contain view scripts, and then `render()` view scripts by specifying subdirectories within those script paths; the output is then returned as a string value which may be cached or directly output. `Zend_View::setScriptPath()` in versions up to and including 1.7.4 include a potential Local File Inclusion vulnerability. If untrusted input is used to specify the script path and/or view script itself, a malicious attacker could potentially specify a system directory and thus render a system file. As an example, if the user-supplied string `/etc/passwd` or a relative path that resolved to that file, was supplied to `Zend_View::render()`, that file would be rendered.

Why it matters now

Fix Fixed zendframework/zendframework1 (Packagist): 1.7.5

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—zendframework/zendframework1 (Packagist)1.7.0 to before 1.7.51.7.5Patch availableGHSA-hx3m-959f-v849
  • zendframework/zendframework1 (Packagist) Vendor— Affected 1.7.0 to before 1.7.5 Fixed in 1.7.5 Patch available GHSA-hx3m-959f-v849

Remediation

  • Fix · GHSA-hx3m-959f-v849 zendframework/zendframework1 (Packagist) Fixed in 1.7.5 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-hx3m-959f-v849

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences