Search Results

All Results 413
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Configuring Liferay to display CAPTCHA's with numbers only - 7.2
Issue Configuring Liferay to display CAPTCHA's with numbers only instead of alphanumeric characters. Environment This issue affects Liferay 7.2 Resolution While the default CAPTCHAs in Liferay generated by SimpleCaptcha contain alphanumeric combinations it is possible to configure them...
Will Liferay DXP 7.1 support X-Frame-Options, X-XSS-Protection, X-Content-Type-Options headers?
Issue Will Liferay DXP 7.1 support X-Frame-Options, X-XSS-Protection, X-Content-Type-Options headers? If yes, how to enable the same. Environment Liferay DXP 7.1 Resolution Liferay DXP 7.1 is already secured with the following headers and it is enabled by default. These values are found...
Security Vulnerability: Remote-Code-Execution (RCE) With ImageMagick
Issue Symptom: CVE-2016-3714 - Insufficient shell characters filtering leads to potentially remote-code-execution vulnerability in ImageMagick. Environment  ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1  Resolution Liferay does not endorse or support any specific third-party...
Import nested groups and users from Microsoft Active Directory
Issue What configuration is needed in Liferay so that the nested groups and the users are imported from AD? Environment DXP 7.2 DXP 7.1 DXP 7.0 Resolution Change the User attribute of the Group Mapping in the LDAP server configuration page to member:1.2.840.113556.1.4.1941:.   Additional...
Users are being logged in as some other user
Issue When any user logs into the portal, they see the user profile of another user instead of seeing their own profile. Environment Liferay DXP 7.0 Resolution There are usually two root causes for the reported behavior: 1. Session ID conflict, and 2. Incorrect cache configuration....
Liferay's OpenID Connect implementation and Single Logout
Issue Does Liferay's OpenID Connect implementation support Single Logout? Environment Liferay DXP 7.1/7.2 Resolution Liferay's current OpenID Connect (OIDC) integration only implements parts of the Final specifications, specifically "Core" and "Discovery". While single-logout (SLO)...
Using one user's JSessionID any logged in user can access the respective user's session
Issue One user's session is accessed by knowing the respective user's JSessionID. Steps for reference: 1) 2 users (say: User A and User B) 2) User "A" logs-in to the system 3) Now, user "A" has one Jession ID(0D13262EDECBA19E93D5A753FC34E03A) and shares his JSessionID to user "B" 4)...
When SAML is enabled, logging out from particular Site should stay at the respective site itself
Issue When SAML is enabled, logging out from "SITE A" is not redirecting/stays at the respective site's home page itself.  Environment Liferay DXP 7.1 SAML plugin Resolution The ideal scenario is authentication functions at the entire portal level and not at the site level due to which...
LDAP users are unable to log in
Issue Users who are present in LDAP are unable to perform login into Liferay and the below error was observed at the server console. ERROR [liferay/scheduler_dispatch-4][PortalLDAPImporterImpl:717] Unable to import user CN=abdulfar: null:null:{samaccountname=sAMAccountName: abdulfar}...
Does Liferay DXP 7.1 support HTTP headers?
Issue Does Liferay DXP 7.1 support the following HTTP headers: "X-Frame-Options", "X-XSS-Protection" and "X-Content-Type-Options"? If not, what changes have to be done from the application side to enable the same Environment Liferay DXP 7.1 Resolution Liferay portal is already secured...
TLS v1.2 in Liferay DXP 7.1
Issue Due to some security vulnerable in TLS v1.0, it should be upgraded to TLS v1.2.  1. Does Liferay DXP 7.1 support TLS v1.2? 2. If it supports, then how to use/upgrade the same in Liferay DXP 7.1? Environment Liferay DXP 7.1 Resolution Liferay 7.1 supports TLS v1.2 as it requires...
Unable to import LDAP telephoneNumber into Liferay phone in the Contact page
Issue Unable to import LDAP telephoneNumber (in Microsoft Active Directory) into Liferay Contact Information -> Phone Numbers on the Contact page. Environment Liferay DXP 7.1 Resolution Only attributes listed in ContactModel.java can be imported through LDAP "contact mapping". Since...
Https Access Portal Problems
Issue When users are trying to access to portal using https protocol, portal is redirecting to http protocol and pages are not showed right. Https protocol was configured in load balancers and application servers but not in Liferay portal. Environment Liferay DXP 7.1 Application server:...
NTLM authenticate failed due to " Logon failure: unknown user name or bad password error "
Issue Users are unable to login through NTML due to the following WARN: 2019-08-29 05:55:28.671 WARN [http-nio-8080-exec-5][Netlogon:104] Unable to authenticate user emma: Logon failure: unknown user name or bad password. Environment Liferay DXP 7.0 Liferay DXP 7.1 Resolution The error...
Password is visible as a plain text in the user's browser console
Issue When a user tries to log in to Liferay via Liferay's default Sign-In portlet, the user's password shows in the browser console as a plain text. Environment Liferay DXP 7.0-7.4 Resolution This is not a Liferay issue. When submitting the login credentials in the browser, the browser...
SAML SLO is not working when using two Liferay servers in my machine
Issue We configured 2 Liferay Servers in my machine, one as Service Provider and the other as Identity Provider. We managed to perform the login through IdP. The issue happens when we try to logout the user in SP. Environment Liferay DXP 7.0, Liferay DXP 7.1 Resolution If IdP and SP use...
How to add security, authentication to my REST service?
Issue We developed a REST service and it works. But we need endpoint security. At the moment it is available without any credentials. We do not want to give access to a REST Web service without credentials.  How can we force user to send credentials (Basic Auth is ok) to call our service...
LDAP settings and upgrading from 5.2.x to 6.x
This article pertains to portals in which LDAP is configured in Liferay Portal 5.2.x and an upgrade is performed. When a user attempts to login, an error is thrown, and the user is not authenticated. 18:44:06,854 ERROR [LDAPAuth:321] Problem accessing LDAP server...
Troubleshooting Missing OpenID Connect Login Option and OIDC "not requested or was removed" Errors
Issue The OpenID Connect option doesn’t appear in the Sign In (login) portlet; or, starting OIDC returns an “OpenID Connect was not requested or was removed” error. Environment Liferay DXP Quarterly Release: 2024.Q1+ Resolution If the Open ID connect button is not displayed in the login...
How to add a certificate in Cacerts file in PaaS
Issue What is the best way to add a new certificate for the Cacerts file to trust the response of a consumed API in Liferay Cloud (PaaS)? Environment Liferay DXP 7.4+ Resolution To ensure your security settings survive a reboot, the best approach is to move the certificates out of...
"Unable to extend the HTTP session" WARN logs
Issue These warnings are frequently found in the logs:  Unable to extend the HTTP session. or Unable to extend the HTTP session. Review the portal property "session.timeout" if this warning is displayed frequently Environment Liferay DXP 7.0 Fixpack 102+ Liferay DXP 7.1 Fixpack 25+...
How to resolve a "Failed to define class from Service Module Loader" error
Issue Upon installation of security-hotfix-lsv-45 in Liferay Portal bundled with JBoss, a "Failed to define class" error is generated in the Liferay logs. Failed to define class com.liferay.portal.security.xml.SecureXMLFactoryProviderImpl in Module "deployment.ROOT.war:main" from Service...
Couldn't retrieve remote JWK set: Server returned HTTP response code: 401 error occurs when using OpenID Connect authentication with Oracle Identity Cloud Service
Environment Liferay DXP 7.0-7.3 Oracle Identity Cloud Service OpenID Connect authentication enabled Symptom When OpenID Connect authentication is enabled in Liferay DXP and Oracle Identity Cloud Service (IDCS) is the configured provider, the following error may occur and users are not...
HTTP 400 response code shows sensitive data
Issue Sensitive system information may be seen in HTTP 400 - Bad Response status Environment DXP 7.0   DXP 7.1   DXP 7.2 Resolution The HyperText Transfer Protocol (HTTP) 400 Bad Request response status code indicates that the server cannot or will not process the request due to...
LDAP Performance Issues after upgrading from 6.2 to 7.2
Issue Seeing some slowness authenticating with LDAP after upgrading from 6.2 to 7.2. Environment DXP 7.2 [Upgraded from 6.2] Resolution Install Fix Pack 9 or a hotfix that includes LPS-122832 and run the upgrade process again. LPS-122832 reports and fixes the behavior that several...
How to prevent user enumeration attacks through the Forgot Password functionality
Issue Insecure default configuration may allow remote attackers to enumerate users' email addresses via the forgot password functionality. This can be a risk in the case of public-facing deployments. Environment Liferay DXP 6.2 EE Liferay DXP 7.0-7.2 Resolution It is recommended to set...
SAML changes post upgrade from DXP 7.0 to higher version
Issue SAML authentication is being used in DXP 7.0. After upgrading the DXP 7.0 to any higher version, how to configure SAML in the upgraded environment? Environment Liferay DXP 7.1 Liferay DXP 7.2 Resolution Post upgrade, the respective SAML tables will be carried from source version to...
Session Timeout value is overridden during fix pack upgrade
Issue During installation of a fix pack, the value of <session-timeout> is reset to default within web.xml. Is the value of session timeout can be changed 'permanently'? Environment DXP 7.2 Resolution Currently, there is no out-of-the-box option to achieve this on DXP - the web.xml is...
Add custom certificate in SAML configuration
Issue As part of the SAML configuration, it is possible to generate a Certificate and a Private Key. This generates both a self-signed key and a container storekey (in $LIFERAY_HOME/data/keystore.jks by default). How to use a different key instead of the default one? Environment Liferay...
SAML no longer working after upgrading Liferay
Issue After upgrading Liferay from Liferay DXP 7.0 to Liferay DXP 7.2, SAML is no longer working and users are no longer able to authenticate using SAML. It is possible that the following error will also appear in the logs in the Identity Provider as well as the Service Provider,...
Denied resolving class [...] error is shown in custom FreeMarker/Velocity templates (LSV-658)
Issue Custom FreeMarker and Velocity templates generate the following error after installing a fix pack: Denied resolving class [...] by org.apache Environment Liferay DXP 7.0 FP92+ Liferay DXP 7.1 FP18+/SP5+ Liferay DXP 7.2 FP6+/SP2+ Resolution The behavior originates from an...
Why p_p_auth token is exposed in the URL? Could it be a security risk?
Issue On Liferay Portal 6.2, p_p_auth token is exposed in the URL. It might be considered as a security risk. Environment Liferay Portal 6.2 Resolution No attacker or other user can use p_p_auth token, only a legitimate user is able to apply it. Therefore, leaking the token has no value...
SAML logout when session expires
Issue The Single sign-on and Single log out are working fine when the user manually logs out but there is no Single logout happening on the portal session expiry Environment Liferay 7.0 as IdP Resolution  Service Providers (SP) only receive a maximum validity date contained in the SAML...
How to configure validation directives in AntiSamy
Issue When trying to import content between sites, i.e. knowledge base, a validation error arises: An unexpected error occurred with the publication process. Please check your portal and publishing configuration. com.liferay.portal.kernel.exception.SystemException:...
How to review User Permissions on Freemarker and Velocity templates
Issue After applying the fix for LSV-658, how can I see which users have permissions for (which) Freemarker/Velocity templates, i.e. via the user interface or by a database query? The Mitigation Notes of LSV-658 suggests that we review the owners of existing templates as they have full...
The Forget Password page is vulnerable to CSRF attack
Issue The Forget Password form can be re-submitted with different cookies which lead to the CSRF issue. Environment Liferay DXP 7.2 Resolution This is considered as a False Positive, as the user is not logged into Liferay when accessing the Forget password page. CSRF is meant to protect...
Page version control information is accessible in sitemap.xml
Issue Page version control information is accessible in sitemap.xml - such information shall not be exposed for security reasons. Reproduction: 1) Start up bundle 2) Access sitemap (e.g. http://localhost:8080/sitemap.xml) 3) From the site map, open one of the URLs within <loc>...
Changing password forces users to log in again
Issue Changing password invalidates current sessions and the users have to log in again. 2020-02-07 13:08:37.558 ERROR [http-nio-8080-exec-2][PortletServlet:112] javax.portlet.PortletException: java.lang.IllegalStateException: getAttribute: Session already invalidated Environment Liferay...
Session Hijacking issue with https connection
Issue By replacing the sessionId of a logged-in user, the user's session from another browser is replicated. Steps to reproduce Create 2 users like u1, u2 Assign the role for the u1 as "Power user", u2 as "Portal Content Reviewer" Create 2 pages like Page1, Page2 Click on the permission...
Integration of SiteMinder SSO
Issue How to integrate the SiteMinder SSO with Liferay Environment Liferay DXP 7.0 Resolution By default, Token based authentication is disabled in the Liferay. To manage the same, refer to this document Token-based Single Sign-On Authentication which describes the Token SSO...

Showing 521 to 560 of 595 entries.