Japanese PHP Gallery Hosting File Upload upload/upload.php ServerPath code injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability marked as critical has been reported in Japanese PHP Gallery Hosting. Affected by this issue is some unknown functionality of the file upload/upload.php of the component File Upload. The manipulation of the argument ServerPath leads to code injection. This vulnerability is documented as CVE-2007-5733. Additionally, an exploit exists.
Details
A vulnerability was found in Japanese PHP Gallery Hosting (Photo Gallery Software) (the affected version is unknown). It has been rated as critical. This issue affects an unknown code of the file upload/upload.php of the component File Upload. The manipulation of the argument ServerPath with an unknown input leads to a code injection vulnerability. Using CWE to declare the problem leads to CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
Unrestricted file upload vulnerability in upload/upload.php in Japanese PHP Gallery Hosting, when Open directory mode is enabled, allows remote attackers to upload and execute arbitrary PHP code via a ServerPath parameter specifying a filename with a double extension. NOTE: some of these details are obtained from third party information.
The weakness was released 10/23/2007 (Website). It is possible to read the advisory at securityreason.com. The identification of this vulnerability is CVE-2007-5733 since 10/30/2007. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known. The attack technique deployed by this issue is T1059 according to MITRE ATT&CK.
After immediately, there has been an exploit disclosed. The exploit is available at exploit-db.com. It is declared as proof-of-concept. By approaching the search of inurl:upload/upload.php it is possible to find vulnerable targets with Google Hacking.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at Exploit-DB (30703), SecurityFocus (BID 26179†) and OSVDB (39015†). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Timeline
10/23/2007 🔍10/23/2007 🔍
10/23/2007 🔍
10/30/2007 🔍
10/30/2007 🔍
12/05/2007 🔍
03/16/2015 🔍
09/15/2025 🔍
Sources
Advisory: securityreason.comStatus: Not defined
CVE: CVE-2007-5733 (🔍)
GCVE (CVE): GCVE-0-2007-5733
GCVE (VulDB): GCVE-100-39491
SecurityFocus: 26179 - Japanese PHP Gallery Hosting Arbitrary File Upload Vulnerability
OSVDB: 39015 - Japanese PHP Gallery Hosting upload/upload.php ServerPath Variable Unrestricted Arbitrary File Upload
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/16/2015 12:18Updated: 09/15/2025 06:35
Changes: 03/16/2015 12:18 (46), 08/13/2017 10:17 (10), 09/15/2025 06:35 (23)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.