CVE-2010-5325: Buffer Overflow
Heap-based buffer overflow in the unhtmlify function in foomatic-rip in foomatic-filters before 4.0.6 allows remote attackers to cause a denial of service (memory corruption and crash) or possibly execute arbitrary code via a long job title.
Other sources
It was discovered that the unhtmlify() function of foomatic-rip did not correctly calculate buffer sizes, possibly leading to a heap-based memory corruption. A malicious attacker could exploit this flaw to cause foomatic-rip to crash or, possibly, execute arbitrary code.
This flaw was fixed upstream back in 2010, without much attention being given to the possible security implications of it. It is a remote buffer overflow with possibility of executing arbitrary code, with only a few restrictions, such as having the cups service open to the network and a particular kind of filter in use.
Analysis by Engineering shows that only RHEL-6 contains the affected code, so RHEL-5, RHEL-7 and Fedora are not affected. Giving this flaw a Moderate rating, despite the 7.7 CVSSv2 score, as cups is not usually configured widely open to the network or internet at large, and because it depends on a particular kind of filter being used.
References: https://bugs.linuxfoundation.org/showbug.cgi?id=515
— Red Hat
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2010-5325?
CVE-2010-5325 is classified as a critical vulnerability due to its potential for remote code execution and denial of service.
How do I fix CVE-2010-5325?
To mitigate CVE-2010-5325, upgrade the foomatic package to version 4.0.6 or later.
What software is affected by CVE-2010-5325?
CVE-2010-5325 affects foomatic-filters versions before 4.0.6 and various Red Hat Enterprise Linux environments.
What type of vulnerability is CVE-2010-5325?
CVE-2010-5325 is a heap-based buffer overflow vulnerability that can lead to memory corruption.
Can CVE-2010-5325 be exploited remotely?
Yes, CVE-2010-5325 can be exploited remotely through crafted job titles sent to the foomatic service.