CVE-2010-4335: Input Validation

Published Jan 14, 2011
·
Updated

The validatePost function in libs/controller/components/security.php in CakePHP 1.3.x through 1.3.5 and 1.2.8 allows remote attackers to modify the internal Cake cache and execute arbitrary code via a crafted data[Token][fields] value that is processed by the unserialize function, as demonstrated by modifying the filemap cache to execute arbitrary local files.

Affected Software

27 affected components
Cakefoundation Cakephp=1.3.0
CakePHP CakePHP=1.2.8
CakePHP CakePHP=1.3-dev
CakePHP CakePHP=1.3.0-alpha
CakePHP CakePHP=1.3.0-beta
CakePHP CakePHP=1.3.0-rc1
CakePHP CakePHP=1.3.0-rc2
CakePHP CakePHP=1.3.0-rc3
CakePHP CakePHP=1.3.0-rc4
CakePHP CakePHP=1.3.1
CakePHP CakePHP=1.3.2
CakePHP CakePHP=1.3.3
CakePHP CakePHP=1.3.4
CakePHP CakePHP=1.3.5
Cakefoundation Cakephp=1.2.8
Cakefoundation Cakephp=1.3-dev
Cakefoundation Cakephp=1.3.0-alpha
Cakefoundation Cakephp=1.3.0-beta
Cakefoundation Cakephp=1.3.0-rc1
Cakefoundation Cakephp=1.3.0-rc2
Cakefoundation Cakephp=1.3.0-rc3
Cakefoundation Cakephp=1.3.0-rc4
Cakefoundation Cakephp=1.3.1
Cakefoundation Cakephp=1.3.2
Cakefoundation Cakephp=1.3.3
Cakefoundation Cakephp=1.3.4
Cakefoundation Cakephp=1.3.5

Event History

Jan 14, 2011
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2010-4335?

CVE-2010-4335 is classified as a critical vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2010-4335?

To mitigate CVE-2010-4335, upgrade your CakePHP installation to version 1.3.6 or later.

3

What versions are affected by CVE-2010-4335?

CVE-2010-4335 affects CakePHP versions 1.2.8 and 1.3.0 through 1.3.5.

4

Can CVE-2010-4335 allow attackers to execute arbitrary code?

Yes, CVE-2010-4335 allows remote attackers to execute arbitrary code by manipulating the data processed by the unserialize function.

5

What component of CakePHP is vulnerable in CVE-2010-4335?

The _validatePost function in libs/controller/components/security.php is the vulnerable component in CVE-2010-4335.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203