{"metadata": {"vulnerability": "CVE-2026-19903", "count": 17, "kinds": {"milestone": 4, "sighting": 2, "kev": 0, "other": 11}, "linked_omitted": 0}, "data": [{"timestamp": "2026-08-14T00:00:00Z", "date_only": false, "value": "2026-08-14T00:00:00.000Z", "kind": "other", "label": "Timeline", "source": "cvelistv5 / VulDB", "record": "CVE-2026-19903", "field": "containers.cna.timeline.0.time", "text": "Advisory disclosed"}, {"timestamp": "2026-08-14T02:00:00Z", "date_only": false, "value": "2026-08-14T02:00:00.000Z", "kind": "other", "label": "Timeline", "source": "cvelistv5 / VulDB", "record": "CVE-2026-19903", "field": "containers.cna.timeline.1.time", "text": "VulDB entry created"}, {"timestamp": "2026-08-14T19:24:14.926Z", "date_only": false, "value": "2026-08-14T19:24:14.926Z", "kind": "milestone", "label": "Reserved", "source": "cvelistv5", "record": "CVE-2026-19903", "field": "cveMetadata.dateReserved"}, {"timestamp": "2026-08-14T21:32:08Z", "date_only": false, "value": "2026-08-14T21:32:08.000Z", "kind": "other", "label": "Timeline", "source": "cvelistv5 / VulDB", "record": "CVE-2026-19903", "field": "containers.cna.timeline.2.time", "text": "VulDB entry last update"}, {"timestamp": "2026-08-15T17:45:07.886Z", "date_only": false, "value": "2026-08-15T17:45:07.886Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-19903", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, {"timestamp": "2026-08-15T17:45:07.886Z", "date_only": false, "value": "2026-08-15T17:45:07.886Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / VulDB", "record": "CVE-2026-19903", "field": "containers.cna.providerMetadata.dateUpdated"}, {"timestamp": "2026-08-15T18:16:25Z", "date_only": false, "value": "2026-08-15T18:16:25Z", "kind": "other", "label": "Nvd published at", "source": "github \u00b7 GHSA-2PV8-4M23-R87G", "record": "GHSA-2PV8-4M23-R87G", "field": "database_specific.nvd_published_at", "linked_record": true}, {"timestamp": "2026-08-15T18:16:25Z", "date_only": false, "value": "2026-08-15T18:16:25.000", "kind": "milestone", "label": "Published", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-19903", "record": "FKIE_CVE-2026-19903", "field": "published", "metric_role": "disclosure", "metric_basis": "recorded_event", "linked_record": true}, {"timestamp": "2026-08-15T18:31:18Z", "date_only": false, "value": "2026-08-15T18:31:18Z", "kind": "milestone", "label": "Published", "source": "github \u00b7 GHSA-2PV8-4M23-R87G", "record": "GHSA-2PV8-4M23-R87G", "field": "published", "metric_role": "disclosure", "metric_basis": "recorded_event", "linked_record": true}, {"timestamp": "2026-08-15T18:31:18Z", "date_only": false, "value": "2026-08-15T18:31:18Z", "kind": "other", "label": "Updated", "source": "github \u00b7 GHSA-2PV8-4M23-R87G", "record": "GHSA-2PV8-4M23-R87G", "field": "modified", "linked_record": true}, {"timestamp": "2026-08-17T15:44:42.799Z", "date_only": false, "value": "2026-08-17T15:44:42.799446Z", "kind": "other", "label": "Recorded", "source": "cvelistv5 / CISA-ADP", "record": "CVE-2026-19903", "field": "containers.adp.0.metrics.0.other.content.timestamp"}, {"timestamp": "2026-08-17T15:44:42.799Z", "date_only": false, "value": "2026-08-17T15:44:42.799446Z", "kind": "other", "label": "Recorded", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-19903", "record": "FKIE_CVE-2026-19903", "field": "metrics.ssvcV203.0.ssvcData.timestamp", "linked_record": true}, {"timestamp": "2026-08-17T15:45:33.120Z", "date_only": false, "value": "2026-08-17T15:45:33.120Z", "kind": "other", "label": "Updated", "source": "cvelistv5", "record": "CVE-2026-19903", "field": "cveMetadata.dateUpdated"}, {"timestamp": "2026-08-17T15:45:33.120Z", "date_only": false, "value": "2026-08-17T15:45:33.120Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / CISA-ADP", "record": "CVE-2026-19903", "field": "containers.adp.0.providerMetadata.dateUpdated"}, {"timestamp": "2026-08-20T12:48:10.287Z", "date_only": false, "value": "2026-08-20T12:48:10.287", "kind": "other", "label": "Updated", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-19903", "record": "FKIE_CVE-2026-19903", "field": "lastModified", "linked_record": true}, {"timestamp": "2026-11-12T15:52:10Z", "date_only": false, "value": "2026-11-12T15:52:10.000000Z", "kind": "sighting", "label": "Seen", "source": "https://gist.github.com/LMortalv/d6244c44e5d587987cfed931c3edf748", "record": "CVE-2026-19903", "field": "creation_timestamp", "uuid": "32826bd1-a803-4da9-9dd9-7908f69b6f80", "content": "# Sensitive Data Exposure in SourceCodester Online Clothing Store 1.0 - /pbl_database.sql\n\n## Summary\n\nA sensitive data exposure vulnerability exists in **SourceCodester Online Clothing Store 1.0**. A complete database export file (`pbl_database.sql`) is placed in the web root and is directly downloadable via HTTP GET without any authentication. The file contains all table schemas, plaintext user credentials, personal information, and binary item image data.\n\n- **Vendor:** SourceCodester\n- **Product:** Online Clothing Store\n- **Version:** 1.0\n- **Vulnerability Class:** Sensitive Data Exposure / Direct Request (CWE-425, CWE-200)\n- **Affected Endpoint:** `/pbl_database.sql`\n- **Authentication Required:** No\n- **Primary PoC Status:** Verified at runtime (unauthenticated HTTP 200)\n- **Severity:** Critical\n\n## Product Reference\n\n- Download page: https://download.code-projects.org/details/a9d7cf0f-685e-4a30-a932-3943bc02ba46\n\n## Test Environment\n\n- Apache 2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a\n- PHP 7.0.9 NTS (fcgid)\n- MySQL 5.7.26\n- Target URL: `http://127.0.0.1/`\n- Verification tool: Yakit Web Fuzzer (Yaklang MCP Server 0.0.2)\n\n## Vulnerability Details\n\nThe application's full database dump is deployed inside the web root as `pbl_database.sql`. The web server serves it as a static file with the MIME type `application/x-sql`, with no access control, no authentication, and no path restriction.\n\nThe file contains:\n\n1. `CREATE TABLE` statements for 14 tables, exposing the complete schema.\n2. The `person` table with all user fields: name, email, city, telephone, username, and **plaintext passwords**.\n3. Item records including descriptions, prices, and **binary image data (BLOB)**.\n\nAnyone who can reach the web server can download the entire database with a single GET request, bypassing all application-layer protections.\n\n## Primary PoC: Unauthenticated Database Download\n\n### Reproduction Steps\n\n1. Deploy SourceCodester Online Clothing Store 1.0 at `http://127.0.0.1/`.\n2. Send a GET request to `/pbl_database.sql` without any Cookie header.\n3. Observe the response.\n\n### Observed HTTP Response\n\n```http\nGET /pbl_database.sql HTTP/1.1\nHost: 127.0.0.1\n\nHTTP/1.1 200 OK\nServer: Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a\nX-Powered-By: PHP/7.0.9\nContent-Type: application/x-sql\nContent-Length: 143135\n```\n\nThe response body is a complete SQL dump. It contains `CREATE TABLE` statements and `INSERT` statements for all application data, including plaintext passwords in the `person` table and binary image data in the `item` table.\n\nA second verification run via Yakit Web Fuzzer returned the same result:\n\n```text\nGET /pbl_database.sql -&gt; HTTP 200, 192439 bytes stored, Content-Type: application/x-sql\nResponse contains CREATE TABLE statements.\n```\n\nThe size difference between the two runs (143135 vs. 192439 bytes) is due to Yakit storing the full HTTP response including headers; the file content is identical.\n\n### Verification of Sensitive Content\n\nThe downloaded file contains:\n\n- `CREATE TABLE` definitions for all 14 tables.\n- `INSERT INTO person` statements with plaintext `PASSWORD` values.\n- `INSERT INTO item` statements with BLOB image data.\n\nNo authentication, no session, and no referer check is required. The file is directly reachable from the web root.\n\n## Root Cause\n\nThe database export file `pbl_database.sql` is placed in the application's web root directory. The web server is configured to serve `.sql` files as static content with the `application/x-sql` MIME type. No `.htaccess` rule, server configuration, or application-level gate prevents direct download of this file.\n\n## Impact\n\nAn unauthenticated remote attacker can:\n\n1. Download the complete database schema and all application data.\n2. Obtain plaintext passwords for all registered users, enabling account takeover and credential reuse attacks.\n3. Obtain personal information (name, email, city, telephone) for all users.\n4. Obtain binary item images and business data.\n\nThis is equivalent to a full database compromise without exploiting any application-layer vulnerability.\n\n## Distinction from CVE-2026-19903\n\nThis issue concerns the file `/pbl_database.sql`, whereas CVE-2026-19903 concerns the file `/db/shopping.sql`. Both files are SQL database backups exposed in the web root, and both share the same root cause: missing web server protection for `.sql` files. If VulDB considers this a duplicate of CVE-2026-19903, this report can be treated as additional evidence of the same class of issue in a different file path.\n\n## Suggested Remediation\n\n1. Move `pbl_database.sql` out of the web root immediately.\n2. Configure the web server to deny access to `.sql`, `.zip`, `.txt`, `.md`, and `.bak` files.\n3. Remove development and backup artifacts from production deployments.\n4. Store database dumps outside the document root and protect them with filesystem permissions.\n5. Replace plaintext password storage with `password_hash()` / `password_verify()` and widen the password column to `varchar(255)`.\n\n## Disclosure and Testing Scope\n\nThis vulnerability was identified and verified in a local, self-hosted lab environment under explicit authorization. The verification request was a read-only GET request. No data was modified or deleted.\n\n## Timeline\n\n- 2026-11-12: Vulnerability identified and verified at runtime via Yakit Web Fuzzer.\n- 2026-11-12: Primary PoC `GET /pbl_database.sql` confirmed unauthenticated HTTP 200 with SQL dump content.\n\n## Reporter\n\nThis issue is intended for coordinated disclosure with the vendor and VulDB.", "url": "https://gist.github.com/LMortalv/d6244c44e5d587987cfed931c3edf748"}, {"timestamp": "2026-11-12T15:56:19Z", "date_only": false, "value": "2026-11-12T15:56:19.000000Z", "kind": "sighting", "label": "Seen", "source": "https://gist.github.com/LMortalv/f2aa50ca82149b1913b16b2458f8cf69", "record": "CVE-2026-19903", "field": "creation_timestamp", "uuid": "89afd9a9-350f-4e5a-8fd6-2b24ea1fd3aa", "content": "# Cross-Site Request Forgery in SourceCodester Online Clothing Store 1.0 - All State-Changing Forms\n\n## Summary\n\nA cross-site request forgery (CSRF) vulnerability exists in **SourceCodester Online Clothing Store 1.0**. All state-changing operations \u2014 user registration, adding items to cart, order placement, and administrative item review/pricing \u2014 are performed without any anti-CSRF token, Origin/Referer validation, or SameSite cookie attribute. A malicious third-party page can automatically submit crafted forms on behalf of an authenticated victim, causing unauthorized business operations without the victim's knowledge.\n\n- **Vendor:** SourceCodester\n- **Product:** Online Clothing Store\n- **Version:** 1.0\n- **Vulnerability Class:** Cross-Site Request Forgery (CWE-352)\n- **Affected Endpoints:** `Sign-up.php`, `View-Items.php` (add to cart), `view-cart.php` (order/delete), `Edit-Items.php` (admin review/repricing), `Donate-Items.php`\n- **Authentication Required:** Victim session (no attacker authentication needed)\n- **Primary PoC Status:** Statically confirmed; no session cookie attributes verified at runtime\n- **Severity:** High\n\n## Product Reference\n\n- Download page: https://download.code-projects.org/details/a9d7cf0f-685e-4a30-a932-3943bc02ba46\n\n## Test Environment\n\n- Apache 2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a\n- PHP 7.0.9 NTS (fcgid)\n- MySQL 5.7.26\n- Target URL: `http://127.0.0.1/`\n\n## Vulnerability Details\n\nEvery state-changing form in the application lacks a per-request anti-CSRF token. A source-wide review of all `` elements confirms that no hidden token field is emitted:\n\n| File | Line | Action | Hidden token? |\n|---|---|---|---|\n| `index.php` | 87, 104, 183 | Login, add to cart, order | No |\n| `Edit-Items.php` | 68 | Administrative review / repricing | No |\n| `view-cart.php` | 12 | Delete / order items | No |\n| `Donate-Items.php` | 86 | Submit donation | No |\n| `Sign-up.php` | 79 | Register account | No |\n| `Admin-Login.php` | 28 | Administrator login | No |\n\nThe only hidden field present anywhere in the application is `Functions_Def.php:376` (`itemId`), which is a business parameter, not a CSRF token.\n\nIn addition, no Origin or Referer header validation is performed in any POST handler. The application has no middleware, no framework, and no global request filter.\n\n### Session Cookie Attributes\n\nRuntime verification of the `Set-Cookie` header on `index.php` confirms:\n\n```http\nHTTP/1.1 200 OK\nServer: Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a\nX-Powered-By: PHP/7.0.9\nSet-Cookie: PHPSESSID=; path=/\nContent-Type: text/html; charset=UTF-8\n```\n\nThe cookie has no `SameSite` attribute, no `HttpOnly`, and no `Secure`. Without `SameSite`, browsers will attach the session cookie to cross-site requests by default, making the CSRF attacks below directly viable.\n\n## Primary PoC: CSRF Against Order Placement (`view-cart.php`)\n\n`updateOrder()` in `Functions_Def.php:474-515` accepts `deleteId[]` directly from the client and processes the order without any token check. A malicious page can force an authenticated victim's browser to submit the following form:\n\n```html\n\n  \n    \n\n      \n      \n    \n  \n\n```\n\nWhen a logged-in victim visits this page, the browser sends the POST request with the victim's `PHPSESSID` cookie attached. `updateOrder()` executes: it updates the item status, deletes the cart entry, and inserts a `buy` record \u2014 all without the victim's consent and without any token validation.\n\nBecause `updateOrder()` also lacks cart ownership and item status checks (see the separate missing-authorization report), the attacker can use this CSRF vector to force the victim to \"purchase\" items that are not even in the victim's cart.\n\n## Secondary PoC: CSRF Against Administrative Repricing (`Edit-Items.php`)\n\n`Edit-Items.php` renders a pricing form at `:68` and accepts POST to `updateItems()` without a token. Because `Edit-Items.php` also lacks authentication (see the separate missing-authorization report), the practical attacker model is even simpler: the attacker does not even need a victim session \u2014 they can POST directly. However, in deployments where authorization is later added but CSRF protection is not, a cross-site form would still be viable:\n\n```html\n\n\n  \n  \n  \n\n```\n\nThis would set the item's `value` field to `1`, repricing the item to an arbitrarily low amount. The payload matches the exact parameter names used in `Functions_Def.php:181`.\n\n## Additional Affected Forms\n\n- `Sign-up.php`: registration can be triggered cross-site, creating unwanted accounts.\n- `View-Items.php`: adding items to the victim's cart can be performed cross-site.\n- `Donate-Items.php`: unwanted donations can be submitted under the victim's identity.\n\nAll share the same root cause: no anti-CSRF token and no SameSite cookie attribute.\n\n## Root Cause\n\n1. No anti-CSRF token is generated, stored in the session, or validated on any POST handler.\n2. No Origin or Referer validation is performed.\n3. The session cookie is set without `SameSite`, so browsers attach it to cross-site requests by default.\n4. The application is a plain PHP application with no framework-provided CSRF middleware.\n\n## Impact\n\nAn unauthenticated attacker can host a malicious page that, when visited by a logged-in user or administrator, silently performs state-changing operations under the victim's identity:\n\n1. Place unauthorized orders (`view-cart.php`).\n2. Reprice items to attacker-chosen values (`Edit-Items.php`).\n3. Register unwanted accounts (`Sign-up.php`).\n4. Submit unwanted donations or cart additions.\n\nCombined with the missing authorization and missing output encoding issues, CSRF amplifies the attack surface: an attacker can chain a cross-site form submission with stored XSS to achieve persistent administrative actions.\n\n## Distinction from Existing CVEs\n\nThis issue is distinct from the existing CVE entries for this product:\n\n- **CVE-2020-28138** concerns SQL injection in the product.\n- **CVE-2020-28139** concerns cross-site scripting via the `offer.php` Offer Detail field.\n- **CVE-2026-19903** concerns direct download of a static `.sql` backup file.\n\nNone of them cover the absence of anti-CSRF tokens or the missing `SameSite` cookie attribute. The root cause here is the complete absence of request-origin validation on state-changing operations (CWE-352), which requires a distinct remediation (token generation/validation, `SameSite=Lax` cookie configuration, Origin/Referer checks).\n\n## Suggested Remediation\n\n1. Generate a per-session anti-CSRF token, embed it as a hidden field in every state-changing form, and validate it on every POST handler before processing.\n2. Set `session_set_cookie_params(['samesite' =&gt; 'Lax', 'httponly' =&gt; true, 'secure' =&gt; true])` before `session_start()`.\n3. Add Origin/Referer validation for all state-changing requests as a defense-in-depth measure.\n4. Add authorization checks to `Edit-Items.php` and ownership checks to `updateOrder()` so that CSRF, even if present, cannot reach privileged functionality without a valid, authorized session.\n\n## Disclosure and Testing Scope\n\nThis vulnerability was identified through complete source review of all `\n` elements and all POST handlers. No cross-site page was hosted against a victim session at runtime; the PoC HTML above is constructed from the exact form field names and action URLs found in the source. The session cookie attributes were confirmed at runtime via the `Set-Cookie` response header, which shows no `SameSite`, `HttpOnly`, or `Secure`.\n\n## Timeline\n\n- 2026-11-12: All state-changing forms and POST handlers reviewed; absence of CSRF tokens confirmed.\n- 2026-11-12: Session cookie attributes confirmed at runtime (no SameSite).\n\n## Reporter\n\nThis issue is intended for coordinated disclosure with the vendor and VulDB.", "url": "https://gist.github.com/LMortalv/f2aa50ca82149b1913b16b2458f8cf69"}], "metrics": {"as_of": "2026-11-16T03:51:27.323Z", "anchors": {"origin": {"timestamp": "2026-08-15T17:45:07.886Z", "date_only": false, "value": "2026-08-15T17:45:07.886Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-19903", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "discovery": null, "report": null, "acknowledgement": null, "disclosure": {"timestamp": "2026-08-15T17:45:07.886Z", "date_only": false, "value": "2026-08-15T17:45:07.886Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-19903", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "exploit_publication": null, "exploitation": null, "patch": null}, "vendor_response_time": {"available": false, "missing": ["start", "end"]}, "time_to_exploit": {"available": false, "missing": ["end"]}, "disclosure_to_exploit": {"available": false, "missing": ["end"]}, "disclosure_to_exploit_publication": {"available": false, "missing": ["end"]}, "time_to_patch": {"available": false, "missing": ["start", "end"]}, "total_time_to_patch": {"available": false, "missing": ["start", "end"]}, "disclosure_to_patch": {"available": false, "missing": ["end"]}, "time_unpatched": {"available": true, "seconds": 7985179.437535, "hours": 2218.1053993152777, "days": 92.42105830480324, "min_seconds": 7985179.437535, "max_seconds": 7985179.437535, "approximate": false, "ongoing": true, "order_known": true, "batch_listing": false, "end_before_start": false, "start": {"timestamp": "2026-08-15T17:45:07.886Z", "date_only": false, "value": "2026-08-15T17:45:07.886Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-19903", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "end": {"timestamp": "2026-11-16T03:51:27.323Z", "date_only": false, "label": "As of", "source": "Calculation clock"}}, "exploitation_to_patch": {"available": false, "missing": ["start"]}, "exploit_publication_to_patch": {"available": false, "missing": ["start"]}}}
