%0 Conference Proceedings %T Ghostrail: Ad Hoc Control-Flow Integrity for Web Applications %+ University of Passau %A Braun, Bastian %A Gries, Caspar %A Petschkuhn, Benedikt %A Posegga, Joachim %Z Part 6: Information Flow Control %< avec comité de lecture %( IFIP Advances in Information and Communication Technology %B 29th IFIP International Information Security Conference (SEC) %C Marrakech, Morocco %Y Nora Cuppens-Boulahia %Y Frédéric Cuppens %Y Sushil Jajodia %Y Anas Abou El Kalam %Y Thierry Sans %I Springer %3 ICT Systems Security and Privacy Protection %V AICT-428 %P 264-277 %8 2014-06-02 %D 2014 %R 10.1007/978-3-642-55415-5_22 %Z Computer Science [cs]Conference papers %X Modern web applications frequently implement complex control flows, which require the users to perform actions in a given order. Users interact with a web application by sending HTTP requests with parameters and in response receive web pages with hyperlinks that indicate the expected next actions. If a web application takes for granted that the user sends only those expected requests and parameters, malicious users can exploit this assumption by crafting harming requests. We analyze recent attacks on web applications with respect to user-defined requests and identify their root cause in the missing enforcement of allowed next user requests. Based on this result, we provide our approach, named Ghostrail, a control-flow monitor that is applicable to legacy as well as newly developed web applications. It observes incoming requests and lets only those pass that were provided as next steps in the last web page. Ghostrail protects the web application against race condition exploits, the manipulation of HTTP parameters, unsolicited request sequences, and forceful browsing. We evaluate the approach and show that it neither needs a training phase nor a manual policy definition while it is suitable for a broad range of web technologies. %G English %Z TC 11 %2 https://inria.hal.science/hal-01370372/document %2 https://inria.hal.science/hal-01370372/file/978-3-642-55415-5_22_Chapter.pdf %L hal-01370372 %U https://inria.hal.science/hal-01370372 %~ IFIP %~ IFIP-AICT %~ IFIP-TC %~ IFIP-AICT-428 %~ IFIP-TC11 %~ IFIP-SEC