PHPExcel vulnerable to XXE attacks through libxml
Impact
PHPExcel before 1.8.0, as used in ownCloud Server before 5.0.15 and 6.0.x before 6.0.2, does not disable external entity loading in libxml, which allows remote attackers to read arbitrary files, cause a denial of service, or possibly have other impact via an XML External Entity (XXE) attack.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 1.8.0Ecosystem versions | 1.8.0 |
Version evidence: OSV · GHSA-28rm-rj57-qjpv
View original version evidence (6 explicit versions)
Original source description
PHPExcel before 1.8.0, as used in ownCloud Server before 5.0.15 and 6.0.x before 6.0.2, does not disable external entity loading in libxml, which allows remote attackers to read arbitrary files, cause a denial of service, or possibly have other impact via an XML External Entity (XXE) attack.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2014-2054
- Patch github.com/PHPOffice/PHPExcel/commit/e04bf7ed091b0a72d028eacf26d770b485d4e897
- Source reference github.com/PHPOffice/PHPExcel
- Release notes github.com/PHPOffice/PHPExcel/blob/2b601574975acfb9d4378a788ed5f2b747958095/changelog.txt
- Release notes github.com/PHPOffice/PHPExcel/blob/develop/changelog.txt
- Security advisory owncloud.org/about/security/advisories/oC-SA-2014-006