DRC: A Detection Tool for Dangling References in PHP-Based Web Applications

被引:0
|
作者
Hung Viet Nguyen [1 ]
Hoan Anh Nguyen [1 ]
Tung Thanh Nguyen [1 ]
Nguyen, Tien N. [1 ]
机构
[1] Iowa State Univ, Elect & Comp Engn Dept, Ames, IA 50011 USA
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
PHP is a server-side language that is widely used for creating dynamic Web applications. However, as a dynamic language, PHP may induce certain programming errors that reveal themselves only at run time. A common type of error is dangling references, which occur if the referred program entities have not been declared in the current program execution. To prevent the run-time errors caused by such dangling references, we introduce Dangling Reference Checker (DRC), a novel tool to statically detect those references in the source code of PHP-based Web applications. DRC first identifies the path constraints of the program executions in which a program entity appears and then matches the path constraints of the entity's declarations and references to detect dangling ones. DRC is able to detect dangling reference errors in several real-world PHP systems with high accuracy. The video demonstration for DRC is available at http://www.youtube.com/watch?v=y_AKZYhLlU4.
引用
收藏
页码:1299 / 1302
页数:4
相关论文
共 50 条
  • [1] Dangling References in Multi-configuration and Dynamic PHP-Based Web Applications
    Hung Viet Nguyen
    Hoan Anh Nguyen
    Tung Thanh Nguyen
    Anh Tuan Nguyen
    Nguyen, Tien N.
    [J]. 2013 28TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2013, : 399 - 409
  • [2] Dangling references in multi-configuration and dynamic PHP-based Web applications
    Nguyen, Hung Viet
    Nguyen, Hoan Anh
    Nguyen, Tung Thanh
    Nguyen, Anh Tuan
    Nguyen, Tien N.
    [J]. 2013 28th IEEE/ACM International Conference on Automated Software Engineering, ASE 2013 - Proceedings, 2013, : 399 - 409
  • [3] An Architecture of Dynamically Adaptive PHP-based Web Applications
    Nakajima, Shin
    [J]. 2011 18TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2011), 2011, : 203 - 210
  • [4] Output-oriented Refactoring in PHP-based Dynamic Web Applications
    Hoan Anh Nguyen
    Hung Viet Nguyen
    Tung Thanh Nguyen
    Nguyen, Tien N.
    [J]. 2013 29TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2013, : 150 - 159
  • [5] ShellBreaker: Automatically detecting PHP-based malicious web shells
    Li, Yu
    Huang, Jin
    Ikusan, Ademola
    Mitchell, Milliken
    Zhang, Junjie
    Dai, Rui
    [J]. COMPUTERS & SECURITY, 2019, 87
  • [6] Use of Design Patterns in PHP-Based Web Application Frameworks
    Paikens, Andris
    Arnicans, Guntis
    [J]. BALTIC JOURNAL OF MODERN COMPUTING, 2008, 733 : 53 - 71
  • [7] PHP-based malicious webshell detection based on abstract syntax tree simplification and explicit duration recurrent networks
    Xie, Bailin
    Li, Qi
    Wang, Yu
    [J]. COMPUTERS & SECURITY, 2024, 146
  • [8] Automated Software Testing for PHP Web Based Applications
    Caprita, Dan
    Mazilescu, Vasile
    [J]. SSE '09: PROCEEDINGS OF THE 11TH WSEAS INTERNATIONAL CONFERENCE ON SUSTAINABILITY IN SCIENCE ENGINEERING, 2009, : 285 - +
  • [9] Static Detection of Un-trusted Variables in PHP Web Applications
    Peng Shushen
    Gu Qing
    Chen Daoxu
    [J]. 2009 INTERNATIONAL CONFERENCE ON E-BUSINESS AND INFORMATION SYSTEM SECURITY, VOLS 1 AND 2, 2009, : 249 - 253
  • [10] Exploring output-based coverage for testing PHP web applications
    Hung Viet Nguyen
    Hung Dang Phan
    Kastner, Christian
    Nguyen, Tien N.
    [J]. AUTOMATED SOFTWARE ENGINEERING, 2019, 26 (01) : 59 - 85