Some vulnerabilities have been reported in Coppermine Photo Gallery, which can be exploited by malicious people to conduct cross-site scripting attacks or to compromise a vulnerable system and by malicious users to conduct SQL injection attacks.
1) Input passed to unspecified parameters in util.php and reviewcom.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL commands.
2) Input passed to the "quality", "angle" and "clipval" parameters in include/imageObjectIM.class.php is not properly sanitised before being used to execute commands. This can be exploited to execute arbitrary commands via shell escape characters contained within the affected parameters.
Successful exploitation requires that ImageMagick is used to process images.
3) Input passed to the "h" and "t" parameters in docs/showdoc.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
The vulnerabilities are reported in version 1.4.14. Prior versions may also be affected.
Solution: Update to version 1.4.15.
Provided and/or discovered by: The vendor credits Janek Vind.
Original Advisory: Coppermine Photo Gallery:
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org