12.07.2015 Views

Dissecting Java Server Faces for Penetration Testing - SecNiche ...

Dissecting Java Server Faces for Penetration Testing - SecNiche ...

Dissecting Java Server Faces for Penetration Testing - SecNiche ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Contents1 Acknowledgments 32 Overview 43 Inside JSF Framework 53.1 JSF Security Architecture . . . . . . . . . . . . . . . . . . . . . . 53.1.1 JSF <strong>Faces</strong>-Config.xml and Web.xml . . . . . . . . . . . . 64 <strong>Penetration</strong> <strong>Testing</strong> JSF Framework 74.1 JSF ViewState Anatomy . . . . . . . . . . . . . . . . . . . . . . 74.1.1 Differential Behavior - ViewState in ASP.NET and JSF . 74.2 Scrutinizing Padding - <strong>Testing</strong> Oracle . . . . . . . . . . . . . . . 94.2.1 Experiment - Fuzzing Oracle . . . . . . . . . . . . . . . . 114.3 JSF Anti CSRF - Truth Behind the Scenes . . . . . . . . . . . . 114.3.1 Implementing CSRF Protection - The Right Way . . . . . 134.4 Security Descriptors Fallacy - Configuration . . . . . . . . . . . 144.4.1 Secure Way of Configuring Security Descriptors . . . . . . 154.5 JSF Version Tracking and Disclosure . . . . . . . . . . . . . . . . 164.6 JSF Data Validation . . . . . . . . . . . . . . . . . . . . . . . . . 164.6.1 JSF 1.2 Validation . . . . . . . . . . . . . . . . . . . . . . 164.6.2 JSF 2.0 Validation . . . . . . . . . . . . . . . . . . . . . . 174.6.3 Custom Validations . . . . . . . . . . . . . . . . . . . . . 185 Conclusion 206 About the Authors 217 References 222

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!