Lune

USENIX Security2023顶会

Improving Logging to Reduce Permission Over-Granting Mistakes

Bingyu Shen, Tianyi Shan, Yuanyuan Zhou

摘要

Access control configurations are gatekeepers to block unwelcome access to sensitive data. Unfortunately, system administrators (sysadmins) sometimes over-grant permissions when resolving unintended access-deny issues reported by legitimate users, which may open up security vulnerabilities for attackers. One of the primary reasons is that modern software does not provide informative logging to guide sysadmins to understand the reported problems. This paper makes one of the first attempts (to the best of our knowledge) to help developers improve log messages in order to help sysadmins correctly understand and fix access-deny issues without over-granting permissions. First, we conducted an observation study to understand the current practices of access-deny logging in the server software. Our study shows that many access-control program locations do not have any log messages; and a large percentage of existing log messages lack useful information to guide sysadmins to correctly understand and fix the issues. On top of our observations, we built SECLOG, which uses static analysis to automatically help developers find missing access-deny log locations and identify relevant information at the log location. We evaluated SECLOG with ten widely deployed server applications. Overall, SECLOG identified 380 new log statements for access-deny cases, and also enhanced 550 existing access-deny log messages with diagnostic information. We have reported 114 log statements to the developers of these applications, and so far 70 have been accepted into their main branches. We also conducted a user study with sysadmins (n=32) on six real-world access-deny issues. SECLOG can reduce the number of insecure fixes from 27 to 1, and also improve the diagnosis time by 64.2% on average. Correct and safe fix !" #\%&'( )*+( ,(-.*//*0& 10 222 3%-.)4+534/(+(//5 6" #\%&'( )*+( 07&(-10 1( +0'&(8 4/(-" 34/(-+(//5 9" :(.0;( 1$( userlist_file <0&)' (&1-= 10 %++07 %++ 4/(-/

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • CASPR: Context-Aware Security Policy Recommendation 引用了 Towards Continuous Access Control Validation and Forensics
  • Multiview: Finding Blind Spots in Access-Deny Issues Diagnosis 引用了 Investigating System Operators' Perspective on Security Misconfigurations
  • Multiview: Finding Blind Spots in Access-Deny Issues Diagnosis 引用了 Towards Continuous Access Control Validation and Forensics
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. CASPR: Context-Aware Security Policy RecommendationLifang Xiao, Hanyu Wang, Aimin Yu, Lixin Zhao 等NDSS 2025
  2. Multiview: Finding Blind Spots in Access-Deny Issues DiagnosisBingyu Shen, Tianyi Shan, Yuanyuan ZhouUSENIX Security 2023

它引用的 Paper2

  1. Investigating System Operators' Perspective on Security MisconfigurationsConstanze Dietrich, Katharina Krombholz, Kevin Borgolte, Tobias FiebigCCS 2018 · 116 次引用
  2. Towards Continuous Access Control Validation and ForensicsChengcheng Xiang, Yudong Wu, Bingyu Shen, Mingyao Shen 等CCS 2019 · 48 次引用

相关 Paper

  1. Interpretable Vulnerability Detection ReportsCláudia Mamede, José Campos, Claire Le Goues, Rui AbreuASE 2025
  2. Detecting Missing-Permission-Check Vulnerabilities in Distributed Cloud SystemsJie Lu, Haofeng Li, Chen Liu, Lian Li 等CCS 2022 · 12 次引用
  3. Towards Secure Logging: Characterizing and Benchmarking Logging Code Security Issues with LLMsHe Yang Yuan, Xin Wang, Kundi Yao, An Ran Chen 等FSE 2026
  4. ConfLogger: Enhance Systems' Configuration Diagnosability through Configuration LoggingShiwen Shan, Yintong Huo, Yuxin Su, Zhining Wang 等ICSE 2026
  5. Forensic Analysis in Access Control: Foundations and a Case-Study from PracticeNahid Juma, Xiaowei Huang, Mahesh TripunitaraCCS 2020 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖