### [CVE-2018-10054](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10054) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description ** DISPUTED ** H2 1.4.197, as used in Datomic before 0.9.5697 and other products, allows remote code execution because CREATE ALIAS can execute arbitrary Java code. NOTE: the vendor's position is "h2 is not designed to be run outside of a secure environment." ### POC #### Reference - https://github.com/h2database/h2database/issues/1225 - https://mthbernardes.github.io/rce/2018/03/14/abusing-h2-database-alias.html - https://www.exploit-db.com/exploits/44422/ #### Github - https://github.com/guillermo-varela/example-scan-gradle-plugin - https://github.com/victorsempere/albums_and_photos