2Bgal contains a flaw that may allow a malicious user to execute arbitrary code. The issue is triggered when a malicious user submits specially crafted input to the id_album parameter of disp_album.php. It is possible that the flaw may allow manipulation of SQL queries resulting in a loss of integrity.
Upgrade to version 2.5.2 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.