GHSA-2pcj-76hj-xqhmcritical9.8
CodeIgniter arbitrary code execution
Impact
system/libraries/Email.php in CodeIgniter before 3.1.3 allows remote attackers to execute arbitrary code by leveraging control over the email->from field to insert sendmail command-line arguments.
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.
bcit-ci/codeigniter Packagist
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 3.1.3Ecosystem versions | 3.1.3 |
Version evidence: OSV · GHSA-2pcj-76hj-xqhm
View original version evidence (15 explicit versions)
Original source description
system/libraries/Email.php in CodeIgniter before 3.1.3 allows remote attackers to execute arbitrary code by leveraging control over the email->from field to insert sendmail command-line arguments.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2016-10131
- Source reference github.com/bcit-ci/CodeIgniter/issues/4844
- Source reference github.com/bcit-ci/CodeIgniter/issues/4963
- Patch github.com/bcit-ci/CodeIgniter/commit/8db01f13809a92bac7bc95b02893175d7654d627
- Source reference github.com/codeigniter4/framework
- Release notes www.codeigniter.com/userguide3/changelog.html
- Source reference www.securityfocus.com/bid/96851