2005 · 255 citations · 21 references
ComputingComputer ScienceProgramming LanguagesVulnerability AnalysisWeb SecurityCross-site ScriptingStatic Code AnalysisStatic Vulnerability AnalysisWeb Application VulnerabilitiesContext-free Grammar ParsingCross-site Scripting DetectionCross-site Scripting Vulnerability AnalysisDynamic Code GenerationServer-side ScriptingStatic Analysis For Cross-site Scripting
Server-side programming is one of the key technologies that support today's WWW environment. It makes it possible to generate Web pages dynamically according to a user's request and to customize pages for each user. However, the flexibility obtained by server-side programming makes it much harder to guarantee validity and security of dynamically generated pages.To check statically the properties of Web pages generated dynamically by a server-side program, we develop a static program analysis that approximates the string output of a program with a context-free grammar. The approximation obtained by the analyzer can be used to check various properties of a server-side program and the pages it generates.To demonstrate the effectiveness of the analysis, we have implemented a string analyzer for the server-side scripting language PHP. The analyzer is successfully applied to publicly available PHP programs to detect cross-site scripting vulnerabilities and to validate pages they generate dynamically.
21
A lattice model of secure information flow
Dorothy E. Denning · Communications of the ACM · 1976 · 1.9K citations · Full text
Transductions and Context-Free Languages
Jean Berstel · 1979 · 1.3K citations
Securing web application code by static analysis and runtime protection
Yao‐Wen Huang, Fang Yu, Christian Hang et al. · 2004 · 566 citations
Global value numbers and redundant computations
Barry K. Rosen, Mark N. Wegman, F. K. Zadeck · 1988 · 483 citations