A directory traversal vulnerability in captcha/captcha_image.php in the RWCards (com_rwcards) 3.0.11 component for Joomla! when magic_quotes_gpc is disabled allows remote attackers to include and execute arbitrary local files via directory traversal sequences in the img parameter.
View the template here CVE-2008-6172.yaml
References:
https://nvd.nist.gov/vuln/detail/CVE-2008-6172