Security Misconfigurations in Lightweight Web APIs: An Observational Study

Authors

  • Betty Cooley School of Computing, Clemson University, Clemson, SC, USA. Author
  • Kayun Saefullah Department of Electrical Engineering and Computer Science, University of Kansas, Lawrence, KS, USA. Author

Keywords:

web APIs; security misconfiguration; authorization; cross-origin resource sharing; configuration risk; observational security

Abstract

Lightweight web APIs expose small, composable HTTP interfaces that are frequently assembled from minimal frameworks, gateway rules, container settings, and cloud defaults. Their security posture is therefore shaped as much by configuration as by application code, yet misconfiguration is often treated as a residual category rather than a measurable property of the API deployment. This article develops an observational framework for security misconfigurations in lightweight web APIs and uses it to analyze the mechanisms through which permissive defaults, incomplete authorization coverage, origin trust errors, missing resource limits, verbose error handling, and transport-policy drift produce exposure. The contribution is a configuration-centric model that separates four evidence layers, namely declared configuration, runtime behavior, gateway policy, and deployment context, and links them to reachability, control coverage, and impact through explicit quantitative relations. The framework defines observation units, coding constructs, evidence rules, and reliability checks, and it distinguishes observed behavior from inferred internal state. Analytical assessment shows that lightweight APIs concentrate risk at the boundaries between route handlers, identity providers, browser origin policies, and infrastructure defaults, where no single owner may perceive the full configuration state. The resulting model supports reproducible observation, defensible severity comparison, and targeted remediation before deployment and during operation. Its significance lies in making misconfiguration an explicit object of API security measurement rather than an assumed byproduct of implementation error.

References

1. Fielding, R. T. (2000). Architectural styles and the design of network-based software architectures [Doctoral dissertation, University of California, Irvine]. University of California, Irvine.

2. Richardson, L., & Ruby, S. (2007). RESTful web services. O'Reilly Media.

3. Newman, S. (2015). Building microservices: Designing fine-grained systems. O'Reilly Media.

4. OWASP Foundation. (2019). OWASP API security top 10. https://owasp.org/www-project-api-security/

5. OWASP Foundation. (2021). OWASP top 10:2021. https://owasp.org/Top10/

6. Chandramouli, R. (2019). Security strategies for microservices-based application systems (NIST Special Publication 800-204). National Institute of Standards and Technology.

7. Hardt, D. (2012). The OAuth 2.0 authorization framework (RFC 6749). Internet Engineering Task Force.

8. Jones, M., Bradley, J., & Sakimura, N. (2015). JSON Web Token (JWT) (RFC 7519). Internet Engineering Task Force.

9. Barth, A., Jackson, C., & Mitchell, J. C. (2008). Robust defenses for cross-site request forgery. In Proceedings of the 15th ACM Conference on Computer and Communications Security (pp. 75–88). ACM.

10. Georgiev, M., Iyengar, S., Jana, S., Anubhai, R., Boneh, D., & Shmatikov, V. (2012). The most dangerous code in the world: Validating SSL certificates in non-browser software. In Proceedings of the 2012 ACM Conference on Computer and Communications Security (pp. 38–49). ACM.

11. Fahl, S., Harbach, M., Muders, T., Baumgärtner, L., Freisleben, B., & Smith, M. (2012). Why Eve and Mallory love Android: An analysis of Android SSL (in)security. In Proceedings of the 2012 ACM Conference on Computer and Communications Security (pp. 50–61). ACM.

12. Sheffer, Y., Holz, R., & Saint-Andre, P. (2015). Summarizing known attacks on Transport Layer Security (TLS) and Datagram TLS (DTLS) (RFC 7457). Internet Engineering Task Force.

13. Fett, D., Küsters, R., & Schmitz, G. (2016). A comprehensive formal security analysis of OAuth 2.0. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security (pp. 1204–1215). ACM.

14. Sun, S.-T., & Beznosov, K. (2012). The devil is in the (implementation) details: An empirical analysis of OAuth SSO systems. In Proceedings of the 2012 ACM Conference on Computer and Communications Security (pp. 378–390). ACM.

15. Mainka, C., Mladenov, V., & Schwenk, J. (2016). Do not trust me: Using malicious IdPs for analyzing and attacking single sign-on. In 2016 IEEE European Symposium on Security and Privacy. IEEE.

16. Grassi, P. A., Garcia, M. E., & Fenton, J. L. (2017). Digital identity guidelines: Authentication and lifecycle management (NIST Special Publication 800-63B). National Institute of Standards and Technology.

17. Cooper, D., Santesson, S., Farrell, S., Boeyen, S., Housley, R., & Polk, W. (2008). Internet X.509 public key infrastructure certificate and certificate revocation list (CRL) profile (RFC 5280). Internet Engineering Task Force.

18. Fielding, R., & Reschke, J. (Eds.). (2014). Hypertext Transfer Protocol (HTTP/1.1): Semantics and content (RFC 7231). Internet Engineering Task Force.

19. Barth, A. (2011). HTTP state management mechanism (RFC 6265). Internet Engineering Task Force.

Downloads

Published

2023-10-08