The readfile function in PHP 4.4.4, 5.1.6, and 5.2.1 allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files by referring to local files with a certain URL syntax instead of a pathname syntax, as demonstrated by a filename preceded a "php://../../" sequence.
| Type | CWE ID | Description |
|---|---|---|
| text | N/A | n/a |
| Version | Base score | Base severity | Vector |
|---|
| CAPEC ID | Description |
|---|
| Event | Date |
|---|
| Hyperlink | Resource |
|---|---|
| http://www.vupen.com/english/advisories/2007/1991 | vdb-entry x_refsource_VUPEN |
| http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506 | vendor-advisory x_refsource_HP |
| http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137 | vendor-advisory x_refsource_HP |
| http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137 | vendor-advisory x_refsource_HP |
| http://www.vupen.com/english/advisories/2007/2374 | vdb-entry x_refsource_VUPEN |
| http://secunia.com/advisories/25423 | third-party-advisory x_refsource_SECUNIA |
| http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506 | vendor-advisory x_refsource_HP |
| http://secunia.com/advisories/25850 | third-party-advisory x_refsource_SECUNIA |
| https://www.exploit-db.com/exploits/3573 | exploit x_refsource_EXPLOIT-DB |
| Version | Base score | Base severity | Vector |
|---|
| CAPEC ID | Description |
|---|
| Event | Date |
|---|
| Hyperlink | Resource |
|---|---|
| http://www.vupen.com/english/advisories/2007/1991 | vdb-entry x_refsource_VUPEN x_transferred |
| http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506 | vendor-advisory x_refsource_HP x_transferred |
| http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137 | vendor-advisory x_refsource_HP x_transferred |
| http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137 | vendor-advisory x_refsource_HP x_transferred |
| http://www.vupen.com/english/advisories/2007/2374 | vdb-entry x_refsource_VUPEN x_transferred |
| http://secunia.com/advisories/25423 | third-party-advisory x_refsource_SECUNIA x_transferred |
| http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506 | vendor-advisory x_refsource_HP x_transferred |
| http://secunia.com/advisories/25850 | third-party-advisory x_refsource_SECUNIA x_transferred |
| https://www.exploit-db.com/exploits/3573 | exploit x_refsource_EXPLOIT-DB x_transferred |