PHP Stale Internal Request-State Vulnerability
PHP contains a stale internal request-state vulnerability that allows for unauthenticated remote code execution.
Use After Free CWE-416
The software keeps using memory after it has been released. Attackers use this to take control of the program.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Weakness data: MITRE Common Weakness Enumeration.
Improper Handling of Exceptional Conditions CWE-755
The product does not handle or incorrectly handles an exceptional condition.
Weakness data: MITRE Common Weakness Enumeration.
Access of Uninitialized Pointer CWE-824
The product accesses or uses a pointer that has not been initialized.
If an attacker can influence the portion of uninitialized memory that is contained in the pointer, this weakness could be leveraged to execute code or perform other attacks. Depending on memory layout, associated memory management behaviors, and product operation, the attacker might be able to influence the contents of the uninitialized pointer, thus gaining more fine-grained control of the memory location to be accessed.
Weakness data: MITRE Common Weakness Enumeration.
Improperly Controlled Sequential Memory Allocation CWE-1325
The product manages a group of objects or resources and performs a separate memory allocation for each object, but it does not properly limit the total amount of memory that is consumed by all of the combined objects.
While the product might limit the amount of memory that is allocated in a single operation for a single object (such as a malloc of an array), if an attacker can cause multiple objects to be allocated in separate operations, then this might cause higher total memory consumption than the developer intended, leading to a denial of service.
Weakness data: MITRE Common Weakness Enumeration.
Incorrect Initialization of Resource CWE-1419
The product attempts to initialize a resource but does not correctly do so, which might leave the resource in an unexpected, incorrect, or insecure state when it is accessed.
This can have security implications when the associated resource is expected to have certain properties or values. Examples include a variable that determines whether a user has been authenticated or not, or a register or fuse value that determines the security state of the product.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 15 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| PHP Group PHP | Software | from 5.4.0, before 8.2.35; from 8.3.0, before 8.3.36; from 8.4.0, before 8.4.27; from 8.5.0, before 8.5.12 | 8.2.35; 8.3.36; 8.4.27; 8.5.12 |
| Paloaltonetworks Pan-os | Operating system | from 10.2.0, before 10.2.7; 10.2.7; 10.2.7 h1; 10.2.7 h10; 10.2.7 h11; 10.2.7 h12; and 285 more | not recorded10.2.7, 11.1.4, 11.2.4, 12.1.4, 12.2.4 is also listed as vulnerable: check the vendor advisory |
| Siemens Energy Engage | Software | 2.0 service pack9; 3.1 service pack1 | not recorded |
| Paloaltonetworks Panorama Virtual Appliance | Software | all versions | not recorded |
| Siemens Amis TS | Software | all versions | not recorded |
| Siemens Blueplanet 360 NX3 M6 WM OD Iisx Firmware | Operating system | all versions | not recorded |
| Siemens Blueplanet 360 NX3 M6 WM OD Iisx-s Firmware | Operating system | all versions | not recorded |
| Siemens Cp61850 Firmware | Operating system | 3.5.4 and later | not recorded |
| Siemens Ruggedcom Ape1808 Firmware | Operating system | all versions | not recorded |
| Siemens Spectrum Power 3 | Software | all versions | not recorded |
| Siemens Spectrum Power 4 | Software | all versions | not recorded |
| Siemens Spectrum Power 7 | Software | all versions | not recorded |
| Siemens Spectrum Power TG | Software | all versions | not recorded |
| Siemens Wtv676-hb6035 Firmware | Operating system | before 6.9.22-3.4 | 6.9.22-3.4 |
| Siemens Wtv776-hb6035 Firmware | Operating system | all versions | not recorded |
The 9.2 severity score (critical) from php.net, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | High | Hard to carry out. It depends on conditions the attacker cannot control. |
| Setup needed on the target | Present | The target has to be set up in a particular way. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
Scorers can disagree. NIST scores every flaw the same way; the reporting company knows its own product best.
1 of the 20 sources NIST lists are patches or advisories from the vendor.