Secure Single Sign-On using CAS and OpenID
Keywords:
Single Sign-On, Security, Authentication, CAS, OpenID, NTLM, PHP, MySQL, ApacheDSAbstract
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.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
How to Cite
Issue
Section
License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
- The author(s) is responsible for the correctness and legality of the paper content.
- Papers that are copyrighted or published will not be taken into consideration for publication in JMEDS It is the author(s) responsibility to ensure that the paper does not cause any copyright infringements and other problems.
- It is the responsibility of the author(s) to obtain all necessary copyright release permissions for the use of any copyrighted materials in the paper prior to the submission.
- The Author(s) retains the right to reuse any portion of the paper, in future works, including books, lectures and presentations in all media, with the condition that the publication by JMEDS is properly credited and referenced.
JMEDS articles by Journal of Mobile, Embedded and Distributed Systems (JMEDS) is licensed under a Creative Commons Attribution 4.0 International License.
Based on a work at http://jmeds.eu.
Permissions beyond the scope of this license may be available at http://jmeds.eu/index.php/jmeds/about/submissions#copyrightNotice.