Some vulnerabilities have been discovered in Barcode Generator, which can be exploited by malicious people to disclose sensitive information, conduct cross-site scripting attacks, or compromise a vulnerable system.
1) Input passed to the "code" parameter in html/image.php (when "t", "r", "text", "f1", "f2", "o", "a1","a2" are set to non-null values) is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources.
Successful exploitation requires that "magic_quotes_gpc" is disabled.
2) Input passed to the "class_dir" in class/LSTable.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local and external resources.
Successful exploitation requires that "register_globals" is enabled.
3) Input passed to the "text2display" parameter in code39.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.
This vulnerabilities are confirmed in Barcode Generator 1d 2.0.1. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly verified.
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
Subject: Barcode Generator File Inclusion and Cross-Site Scripting Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.