Newly released OneCMS v2.5 fixes the security issues found in v2.4, it can be downloaded below: https://sourceforge.net/project/showfiles.php?group_id=148948