Improper validation of token extraction in build_tablename function in PHP
Multiple products
At a glance
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate token extraction for table names, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted name.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 6.582%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:php | php | Affected versions:< 5.4.40Show full version range for php≥ 5.5.0, < 5.5.24≥ 5.6.0, < 5.6.8 |
| Vendor:Apple | mac os x | Affected versions: ≤ 10.10.5 |
| Vendor:Fedora | phpEnvironments (1)
| Affected versions: < 5.6.8-1.fc21 |
| Vendor:Fedora | phpEnvironments (1)
| Affected versions: < 0:5.6.8-1.fc22 |
| Vendor:oraclelinux | php55Environments (1)
| Affected versions: < 0:2.0-1.el6 |
| Vendor:oraclelinux | php55-phpEnvironments (1)
| Affected versions: < 0:5.5.21-2.0.1.el6 |
| Vendor:oraclelinux | php55-php-bcmathEnvironments (1)
| Affected versions: < 0:5.5.21-2.0.1.el6 |
| Vendor:oraclelinux | php55-php-cliEnvironments (1)
| Affected versions: < 0:5.5.21-2.0.1.el6 |
| Vendor:oraclelinux | php55-php-commonEnvironments (1)
| Affected versions: < 0:5.5.21-2.0.1.el6 |
| Vendor:oraclelinux | php55-php-dbaEnvironments (1)
| Affected versions: < 0:5.5.21-2.0.1.el6 |
1–10 of 528 · Page 1 of 53
CVSS scores and metrics6
[email protected] · NVD (Primary)Primary5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:N/A:Pnvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:N/A:Poraclelinux · Wazuh CTI (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:N/A:Predhat · Wazuh CTI (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:N/A:Palas · Wazuh CTI (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:N/A:PRed Hat · Red Hat VEX (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:N/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories28
- cve.org
- NVD
- Wazuh CTI
- Red Hat VEX
- SUSE VEX
- FIRST EPSS
- openwall.com
- mandriva.com
- oracle.com
- oracle.com
- securityfocus.com
- security.gentoo.org
- lists.apple.com
- git.php.net
- marc.info
- support.apple.com
- bugs.php.net
- rhn.redhat.com
- access.redhat.com
- SUSE CVE-2015-1352
- SUSE-SU-2016:1638-1
- ubuntu.com
- ubuntu.com
- cve.mitre.org
- bodhi.fedoraproject.org
- bodhi.fedoraproject.org
- linux.oracle.com
- Mitre CVE-2015-1352
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences