nday
CVE-2008-1875

SQL injection vulnerability in index.php in Terong PHP Photo Gallery (aka Advanced Web Photo…Title composed by nday; the CVE record has none.

A public PoC appeared 13 days before the CVE record was published. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. Not in CISA KEV.

tags weakness typeSQL injection accessnetworkno authentication required exploitationExploit-DB
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

SQL injection
CWE-89, stated by NVD's analysts
network
AV:N in AV:N/AC:L/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:N/AC:L/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
Exploit-DB
Exploit-DB entries 5364

CVSS 2.0 has no user-interaction metric, so “no user interaction” and “remote, unauthenticated” are never assigned from a CVSS 2.0 vector.

stage
POC
disclosed
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2008-04-17T17:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2008-04-04, date only
ITWexploited
no record yet
KEVKEV
no record yet

Summary

SQL injection vulnerability in index.php in Terong PHP Photo Gallery (aka Advanced Web Photo Gallery) 1.0 allows remote attackers to execute arbitrary SQL commands via the photo_id parameter.

Original text of the CVE record (cvelist), shown as published.

Event log

2008-04-04date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PHP Photo Gallery 1.0 - 'photo_id' SQL Injection (SQLi)” (EDB-5364). Verified by Exploit-DB.

src exploitdb 5364 · nday , bulk import · raw
{
  "id": 36893,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/5364",
  "occurred_at": "2008-04-04T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "5364",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/5364",
    "file": "exploits/php/webapps/5364.txt",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "PHP Photo Gallery 1.0 - 'photo_id' SQL Injection (SQLi)",
    "author": "t0pP8uZz",
    "edb_id": 5364,
    "cve_ids": [
      "CVE-2008-1875",
      "CVE-2008-1711"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2008-04-03",
    "date_updated": "2016-11-17",
    "date_published": "2008-04-04"
  }
}
+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 103966,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2008-1875",
  "occurred_at": "2008-04-17T17:00:00Z",
  "observed_at": "2026-11-13T05:35:54.23857Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2008-04-17T17:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.