Secure Single Sign-On using CAS and OpenID

Authors

  • Mihai Gabriel Ionita Military Technical Academy

Keywords:

Single Sign-On, Security, Authentication, CAS, OpenID, NTLM, PHP, MySQL, ApacheDS

Abstract

As the number of connected applications increases, user convenience makes them use the same password, which can create vulnerabilities in an organization’s infrastructure. Therefore, those with security concerns regarding these activities, conducted in the electronic environment, came to support the idea of ​​Single Sign-On systems, having the user in mind. This concept facilitates the authentication process to various resources available on the Internet, or locally, using a single pair of credentials, only once, so it makes the „one for all” password, the method of writing passwords on post-it’s glued to the monitor , or keeping them stored in unsecured text files, sent into oblivion. This paper aims to make a comprehensive analysis of the infrastructure of security and authentication systems on the market. On the other hand, the project presents the implementation of several open source solutions such as OpenID, NTLM in PHP or the Central Authentication Service. For the application that uses OpenID an online store that has an administration page, to which access is restricted using OpenID credentials, was further secured by filtering these IDs in a MySQL database to prevent access to anyone having a valid OpenID credential. For the demonstration of NTLM enabled SSO, another website is used in which access has been blocked to a page. For accessing the page, a valid Windows authentication credential is required. Both the online-shop and demonstration site for NTLM are written in PHP. In addition, the systems using them are implemented also using PHP. For implementing the CAS demo, two Tomcat servlets have been used for demonstration purposes, additional filtering being done by an ApacheDS server.

Author Biography

Mihai Gabriel Ionita, Military Technical Academy

Faculty of Military Information and Electronic Systems

References

Wikipedia. Wikipedia. Single Sign-On. [Online] [Cited: 4 25, 2012.] https://en.wikipedia.org/wiki/Single_sign-on.

the Open Group. Open Group - Security. Introduction to SSO. [Online] [Cited: 4 26, 2012.] http://www.opengroup.org/security/sso/sso_intro.htm.

Rui Wang, Shuo Chen, XiaoFeng Wang. Microsoft Research. Signing Me onto Your Accounts through Facebook and Google: a Traffic-Guided Security Study of Commercially Deployed Single-Sign-On Web Services. [Online] 4 2012. [Cited: 4 26, 2012.] http://research.microsoft.com/pubs/160659/websso-final.pdf.

Wikipedia. OpenID. OpenID. [Online] [Cited: 4 26, 2012.] https://en.wikipedia.org/wiki/OpenID#Security.

OpenID.net. OpenID 2009 Year in Review. [Online] 12 16, 2009. [Cited: 4 26, 2012.] https://openid.net/2009/12/16/openid-2009-year-in-review/.

Tsyrklevich, Vlad & Eugene. BlackHat. SSO for the Internet: A security Story. [Online] [Cited: 4 26, 2012.]

Wikipedia. Central Authentication Service. CAS. [Online] [Cited: 4 28, 2012.] http://en.wikipedia.org/wiki/Central_Authentication_Service.

Secunia. Secunia Advisory and Vulnerability Database. phpCAS. [Online] 2010 - 2012. [Cited: 4 28, 2012.] http://secunia.com/community/advisories/search/?search=phpcas.

Hernan Ochoa, Agustin Azubel. Amplia Security. Understanding the Windows SMB NTLM Authentication Weak Nonce Vulnerability. [Online] 2 2010. [Cited: 7 13, 2012.] http://www.ampliasecurity.com/research/NTLMWeakNonce-bh2010-usa-ampliasecurity.pdf.

Wikipedia. NTLM. [Online] [Cited: 7 13, 2012.] http://en.wikipedia.org/wiki/NTLM.

Sourceforge. The NTLM Authentication Protocol and Security Support Provider. Sourceforge. [Online] http://davenport.sourceforge.net/ntlm.html.

Managing the Threat of Denial-of-Service Attacks. CERT Coordination Center.

Towards DoS-resistant Single Sign-On Systems. Valer Bocan, Mihai Făgădar-Cosma.

Downloads

Published

2012-09-30

How to Cite

Ionita, M. G. (2012). Secure Single Sign-On using CAS and OpenID. Journal of Mobile, Embedded and Distributed Systems, 4(3), 159-167. Retrieved from http://www.jmeds.eu/index.php/jmeds/article/view/Secure_Single_Sign-On_using_CAS_and_OpenID