CVE-2010-1168 Code injection in n/a
Attackers can bypass access restrictions in the Perl Safe module to inject and execute arbitrary code via implicitly called methods.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2010-1168?
CVE-2010-1168 is a high-severity code injection vulnerability in n/a, published on 21 Jun 2010. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Safe (aka Safe.pm) module before 2.25 for Perl allows context-dependent attackers to bypass intended (1) Safe::reval and (2) Safe::rdo access restrictions, and inject and execute arbitrary code, via vectors involving implicitly called methods and implicitly blessed objects, as demonstrated by the (a) DESTROY and (b) AUTOLOAD methods, related to "automagic methods."
Weakness: CWE-264
Which versions are affected by CVE-2010-1168?
It affects 1 product.
Products include Rafael Garcia-Suarez Safe.
How do I fix CVE-2010-1168?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2010-1168 being exploited?
There is no known exploitation of CVE-2010-1168 in the wild and no public exploit code.
Sources
Also known as CVE-2010-1974, DEBIAN-CVE-2010-1168, GHSA-wvgg-c5pp-f6w9.