FreeBSD : codeigniter -- SQL injection vulnerability (b7d785ea-656d-11e5-9909-002590263bf5)

high Nessus Plugin ID 86179

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

The CodeIgniter changelog reports :

An improvement was made to the MySQL and MySQLi drivers to prevent exposing a potential vector for SQL injection on sites using multi-byte character sets in the database client connection.

An incompatibility in PHP versions < 5.2.3 and MySQL > 5.0.7 with mysql_set_charset() creates a situation where using multi-byte character sets on these environments may potentially expose a SQL injection attack vector. Latin-1, UTF-8, and other 'low ASCII' character sets are unaffected on all environments.

If you are running or considering running a multi-byte character set for your database connection, please pay close attention to the server environment you are deploying on to ensure you are not vulnerable.

Solution

Update the affected package.

See Also

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=156486

https://codeigniter.com/userguide2/changelog.html

http://www.nessus.org/u?1fb91ddd

Plugin Details

Severity: High

ID: 86179

File Name: freebsd_pkg_b7d785ea656d11e59909002590263bf5.nasl

Version: 2.4

Type: local

Published: 9/28/2015

Updated: 1/6/2021

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:codeigniter, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 9/28/2015

Vulnerability Publication Date: 8/20/2011