{"api_version":"1","generated_at":"2026-07-23T08:26:18+00:00","cve":"CVE-2008-5874","urls":{"html":"https://cve.report/CVE-2008-5874","api":"https://cve.report/api/cve/CVE-2008-5874.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2008-5874","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2008-5874"},"summary":{"title":"CVE-2008-5874","description":"Multiple SQL injection vulnerabilities in the Hotel Booking Reservation System (aka HBS) for Joomla! allow remote attackers to execute arbitrary SQL commands via the id parameter in a showhoteldetails action to index.php in the (1) com_allhotels or (2) com_5starhotels module.  NOTE: some of these details are obtained from third party information.","state":"PUBLISHED","assigner":"mitre","published_at":"2009-01-08 19:30:11","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-89","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.securityfocus.com/bid/32952","name":"http://www.securityfocus.com/bid/32952","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"Joomla HBS Multiple Components 'showhoteldetails' SQL Injection Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.exploit-db.com/exploits/7575","name":"https://www.exploit-db.com/exploits/7575","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Joomla Component 5starhotels (id) SQL Injection Exploit","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/7568","name":"https://www.exploit-db.com/exploits/7568","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Joomla Component com_allhotels (id) Blind SQL Injection Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://downloads.securityfocus.com/vulnerabilities/exploits/32952.pl","name":"http://downloads.securityfocus.com/vulnerabilities/exploits/32952.pl","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"","mime":"text/x-perl","httpstatus":"-1","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-5874","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5874","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2008","cve_id":"5874","vulnerable":"0","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"joomla","cpe5":"joomla","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"5874","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"joomlahbs","cpe5":"com_5starhotels","cpe6":"_nil_","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"5874","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"joomlahbs","cpe5":"com_allhotels","cpe6":"_nil_","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"5874","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"joomlahbs","cpe5":"hotel_booking_reservation_system","cpe6":"_nil_","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T11:13:13.796Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"32952","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/32952"},{"name":"7575","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"],"url":"https://www.exploit-db.com/exploits/7575"},{"name":"7568","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"],"url":"https://www.exploit-db.com/exploits/7568"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://downloads.securityfocus.com/vulnerabilities/exploits/32952.pl"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2008-12-25T00:00:00.000Z","descriptions":[{"lang":"en","value":"Multiple SQL injection vulnerabilities in the Hotel Booking Reservation System (aka HBS) for Joomla! allow remote attackers to execute arbitrary SQL commands via the id parameter in a showhoteldetails action to index.php in the (1) com_allhotels or (2) com_5starhotels module.  NOTE: some of these details are obtained from third party information."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-09-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"32952","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/32952"},{"name":"7575","tags":["exploit","x_refsource_EXPLOIT-DB"],"url":"https://www.exploit-db.com/exploits/7575"},{"name":"7568","tags":["exploit","x_refsource_EXPLOIT-DB"],"url":"https://www.exploit-db.com/exploits/7568"},{"tags":["x_refsource_MISC"],"url":"http://downloads.securityfocus.com/vulnerabilities/exploits/32952.pl"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-5874","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Multiple SQL injection vulnerabilities in the Hotel Booking Reservation System (aka HBS) for Joomla! allow remote attackers to execute arbitrary SQL commands via the id parameter in a showhoteldetails action to index.php in the (1) com_allhotels or (2) com_5starhotels module.  NOTE: some of these details are obtained from third party information."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"32952","refsource":"BID","url":"http://www.securityfocus.com/bid/32952"},{"name":"7575","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/7575"},{"name":"7568","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/7568"},{"name":"http://downloads.securityfocus.com/vulnerabilities/exploits/32952.pl","refsource":"MISC","url":"http://downloads.securityfocus.com/vulnerabilities/exploits/32952.pl"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2008-5874","datePublished":"2009-01-08T19:00:00.000Z","dateReserved":"2009-01-08T00:00:00.000Z","dateUpdated":"2024-08-07T11:13:13.796Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2009-01-08 19:30:11","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-89","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"configurations":[{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:joomlahbs:com_5starhotels:_nil_:*:*:*:*:*:*:*","matchCriteriaId":"C9B2D0CC-423B-4389-9E06-8FCB6B93FEF4"},{"vulnerable":true,"criteria":"cpe:2.3:a:joomlahbs:com_allhotels:_nil_:*:*:*:*:*:*:*","matchCriteriaId":"FBEE69C1-3EEC-4934-A7BC-D4172430BC84"},{"vulnerable":true,"criteria":"cpe:2.3:a:joomlahbs:hotel_booking_reservation_system:_nil_:*:*:*:*:*:*:*","matchCriteriaId":"5D91DD07-0E3B-4961-BDD6-D1F01F512E58"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:a:joomla:joomla:*:*:*:*:*:*:*:*","matchCriteriaId":"E45D1087-8182-43A1-81BD-B0D5A535EC98"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2008","CveId":"5874","Ordinal":"1","Title":"CVE-2008-5874","CVE":"CVE-2008-5874","Year":"2008"},"notes":[{"CveYear":"2008","CveId":"5874","Ordinal":"1","NoteData":"Multiple SQL injection vulnerabilities in the Hotel Booking Reservation System (aka HBS) for Joomla! allow remote attackers to execute arbitrary SQL commands via the id parameter in a showhoteldetails action to index.php in the (1) com_allhotels or (2) com_5starhotels module.  NOTE: some of these details are obtained from third party information.","Type":"Description","Title":"CVE-2008-5874"},{"CveYear":"2008","CveId":"5874","Ordinal":"2","NoteData":"2009-01-08","Type":"Other","Title":"Published"},{"CveYear":"2008","CveId":"5874","Ordinal":"3","NoteData":"2017-09-28","Type":"Other","Title":"Modified"}]}}}