Back to CVE catalog
CVE-2015-1352

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

Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityPartial

CVSS summary v2.0

5.0Medium
Published:
Updated:
EPSS:
6.582%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:phpphpAffected versions:
< 5.4.40Show full version range for php
≥ 5.5.0, < 5.5.24≥ 5.6.0, < 5.6.8
Vendor:Applemac os xAffected versions:
≤ 10.10.5
Vendor:Fedoraphp
Environments (1)
  • cpe:/o:fedoraproject:fedora:21
Affected versions:
< 5.6.8-1.fc21
Vendor:Fedoraphp
Environments (1)
  • cpe:/o:fedoraproject:fedora:22
Affected versions:
< 0:5.6.8-1.fc22
Vendor:oraclelinuxphp55
Environments (1)
  • cpe:/o:oracle:linux:6
Affected versions:
< 0:2.0-1.el6
Vendor:oraclelinuxphp55-php
Environments (1)
  • cpe:/o:oracle:linux:6
Affected versions:
< 0:5.5.21-2.0.1.el6
Vendor:oraclelinuxphp55-php-bcmath
Environments (1)
  • cpe:/o:oracle:linux:6
Affected versions:
< 0:5.5.21-2.0.1.el6
Vendor:oraclelinuxphp55-php-cli
Environments (1)
  • cpe:/o:oracle:linux:6
Affected versions:
< 0:5.5.21-2.0.1.el6
Vendor:oraclelinuxphp55-php-common
Environments (1)
  • cpe:/o:oracle:linux:6
Affected versions:
< 0:5.5.21-2.0.1.el6
Vendor:oraclelinuxphp55-php-dba
Environments (1)
  • cpe:/o:oracle:linux:6
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:P
nvd · 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:P
oraclelinux · 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:P
redhat · 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:P
alas · 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:P
Red 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:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories28

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