{"schemaVersion":3,"id":"CVE-2024-2331","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"A vulnerability was found in SourceCodester Tourist Reservation System 1.0. It has been declared as critical. This vulnerability affects the function ad_writedata of the file System.cpp. The manipulation of the argument ad_code leads to buffer overflow. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. VDB-256282 is the identifier assigned to this vulnerability.","dates":{"published":"2024-03-09T10:00:07.753Z","modified":"2025-04-16T15:49:18.910Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"CVE.org","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00629,"percentile":0.49216,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00629},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00629,"percentile":0.49216}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00629,"percentile":0.49216}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_WKEYI0X1_VUL-REPORT","name":"Vul Report","source":"github","url":"https://github.com/wkeyi0x1/vul-report/blob/main/Insurance%20Management%20System%20PHP%20and%20MySQL/Insurance%20Management%20System%20PHP%20and%20MySQL%20v1.0%20-%20File%20Inclusion.md","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"}],"affected":[{"vendor":"razormist","product":"tourist_reservation_system","name":"tourist reservation system","label":"tourist_reservation_system","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.0","eol":null,"hubHref":"/vendor/razormist/tourist_reservation_system"},{"vendor":"sourcecodester","product":"tourist reservation system","name":"Tourist Reservation System","label":"tourist reservation system","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.0","eol":null,"hubHref":"/vendor/sourcecodester/tourist_reservation_system"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://vuldb.com/?id.256282","label":"vuldb.com?id.256282","hostname":"vuldb.com","tags":["VDB Entry","Technical Description","Permissions Required"]},{"url":"https://vuldb.com/?ctiid.256282","label":"vuldb.com?ctiid.256282","hostname":"vuldb.com","tags":["Signature","Permissions Required"]},{"url":"https://github.com/wkeyi0x1/vul-report/blob/main/Tourist%20Reservation%20System%20using%20C%2B%2B%20with%20Free%20Source%20Code/buffer-overflow-1.md","label":"github.com/wkeyi0x1/…","hostname":"github.com","tags":["Exploit","Broken Link"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-03-09T10:00:07.753Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-16T15:49:18.910Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:59:17.235Z","stale":false,"partial":false}}