HHVM supports the use of an "admin" server which accepts administrative requests over HTTP
Facebook HHVM
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Facebook HHVM |
|
|
Facebook HHVM
| Product | Affected | Fixed in |
|---|---|---|
| Facebook HHVM |
|
|
4.80.1HHVM supports the use of an "admin" server which accepts administrative requests over HTTP. One of those request handlers, dump-pcre-cache, can be used to output cached regular expressions from the current execution context into a file. The handler takes a parameter which specifies where on the filesystem to write this data. The parameter is not validated, allowing a malicious user to overwrite arbitrary files where the user running HHVM has write access. This issue affects HHVM versions prior to 4.56.2, all versions between 4.57.0 and 4.78.0, as well as 4.79.0, 4.80.0, 4.81.0, 4.82.0, and 4.83.0.
From the CVE record · facebook
HHVM’s HTTP admin server does not validate the file path supplied to its dump-pcre-cache handler. A malicious user who can send requests to that handler can overwrite any file writable by the user running HHVM. The input does not specify whether authentication is required.
Operators running HHVM versions prior to 4.56.2, versions 4.57.0 through 4.78.0, or versions 4.79.0 through 4.83.0 should check their installations.