{"id":"CVE-2013-10033","published":"2025-07-31T14:56:59Z","modified":"2026-04-07T14:02:56Z","title":"Kimai 0.9.2 db_restore.php SQL Injection","vendor":"Kimai Project","product":"Kimai","tier":"tail","description":{"text":"An unauthenticated SQL injection vulnerability exists in Kimai version 0.9.2.x via the db_restore.php endpoint. The flaw allows attackers to inject arbitrary SQL queries into the dates[] POST parameter, enabling file write via INTO OUTFILE under specific environmental conditions. This can lead to remote code execution by writing a PHP payload to the web-accessible temporary directory. The vulnerability has been confirmed in versions including 0.9.2.beta, 0.9.2.1294.beta, and 0.9.2.1306-3.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02109,"percentile":0.82229,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/kimai_sqli.rb","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/30010","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/25606","tags":["exploit"]},{"url":"https://vulners.com/metasploit/MSF:EXPLOIT-UNIX-WEBAPP-KIMAI_SQLI-","tags":["exploit"]},{"url":"https://www.vulncheck.com/advisories/kimai-sqli","tags":["third-party-advisory"]}],"priority":{"score":28.0,"factors":[{"name":"EPSS percentile","points":16.45},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"metasploit":[{"name":"Kimai v0.9.2 'db_restore.php' SQL Injection","module":"exploit/unix/webapp/kimai_sqli","type":"exploit","disclosureDate":"2013-05-21","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/kimai_sqli.rb"}],"first":{"date":"2013-05-21","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/kimai_sqli.rb"},"provenance":"source"},"vendorSlug":"kimai-project","affectedVersions":[{"vendor":"Kimai Project","product":"Kimai","versions":["0.9.2.0"]}],"capec":[{"id":"CAPEC-66","name":"SQL Injection"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-07-31T18:52:33.543870Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2013-7255","exploited":false,"provenance":"source"},"exploitRefs":["https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/kimai_sqli.rb","https://www.exploit-db.com/exploits/30010","https://www.exploit-db.com/exploits/25606","https://vulners.com/metasploit/MSF:EXPLOIT-UNIX-WEBAPP-KIMAI_SQLI-"]}