Search Results

All Results 413
Ordenar Por
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Enabling real-time antivirus scanning without asynchronous background scans
Issue We would like to enable real-time antivirus scanning for uploaded files but disable asynchronous background scanning of the document library. The issue arises because: Enabling dl.store.antivirus.enabled=true triggers both real-time scanning and background scanning of the document...
High CPU and memory use with stacktraces associated to password encryption
Issue The environment starts using a large amount of CPU and also memory. Reviewing thread dumps taking during that time, there are many threads associated to PBKDF2PasswordEncryptor.encrypt, such as: "https-jsse-nio-8443-exec-5" #115 daemon prio=5 os_prio=0 cpu=274186.74ms...
Embedding videos using basic web content
Issue When we try to embed a video using <iframe> tags, during the creation the video displays, however after publishing the content and editing it again, the video is not displayed anymore and the source is updated with a sandbox attribute. Environment DXP 7.4 Quarterly release...
Unable to get OpenID Connect's link to work after upgrading to a Quarterly Release
Issue After upgrading to Quarterly Release 2023.Q3.4 from DXP 7.3, we've found that OpenID Connect is no longer working. The button is no longer populating within the UI even after enabling it using this article: Configuring Liferay Authentication with Okta using OpenID Connect....
Liferay Throws java.lang.ClassCastException: class org.apache.xerces.parsers on Login
Issue Liferay throws a ClassCastException after upgrading, the upgrade logs show no errors.  Liferay throws an error after non-graceful shutdown ERROR [http-nio-8080-exec-8][AutoLoginFilter:247] Current URL /home generates exception:...
SCIM API is not working as expected to link existing users to SCIM Client
Issue I'm unable to use the PUT API to update users as linked to the SCIM Client. I'm not able to add new users and then update them using the PUT API linking them to the SCIM client. Environment 2024.Q1+ Resolution Important This feature is currently behind a beta feature flag. To add...
Is Liferay DXP affected by CVE-2024-38286?
Issue Is Liferay DXP affected by CVE-2024-38286? CVE-2024-38286 is an Apache Tomcat vulnerability wherein Apache Tomcat, under certain configurations on any platform, allows an attacker to cause an OutOfMemoryError by abusing the TLS handshake process. This vulnerability only impacts...
Password for LDAP and Liferay users should not expire
Issue After integrating Liferay with the LDAP server for users, the passwords for the users are expiring after some time and are required to be reset again. Is there any way for the passwords to never expire? Environment Liferay DXP 7.4 Resolution While configuring Liferay with LDAP, the...
Multi-Factor Authentication via SMS
Issue We want to set up MFA via SMS without using any external Apps. Is this possible with Liferay out-of-the-box? Environment Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Resolution MFA by SMS is not available out-of-the-box in Liferay; it is only a viable option if the user has a...
Enabling SSO for our Liferay Console prevents logging in with email and password
Issue After enabling SSO for our Liferay Console, we are no longer able to log in with email and password.  Environment DXP 7.4 Resolution This is expected behavior, as per the Official documentation for SSO: "The first time users authenticate with SSO, their user accounts are...
Using Bootstrap 5 in Liferay DXP
Issue Developers want to upgrade to or implement Bootstrap 5.x.x for custom sites and components in Liferay DXP. The default Liferay environment uses vanilla JavaScript and React rather than Bootstrap 5. Environment Liferay DXP 7.4+ Resolution Starting in DXP 7.4, the Liferay platform...
Vulnerability: Robots.txt file must not be accessed and should be blocked
Issue Encountered a vulnerability issue with the robots.txt file and the vulnerability test suggests preventing the robots.txt file from being accessed. Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution The robots.txt file is not itself a security threat and it might be a false...
GitHub Token Leak Exposure
Issue GitHub Personal Access Token has been leaked in a public Docker container hosted on Docker Hub. Some of the malicious packages like testbrojct2, proxyfullscraper, proxyalhttp and proxyfullscrapers work for file-matching extensions like .py, .php, .zip, .png, .jpg, and .jpeg. If...
HTTP Strict-Transport-Security Header in Liferay
Issue Is HTTP Strict-Transport-Security Header enabled in Liferay? Environment Liferay DXP 7.4 Resolution Liferay enables HTTP security headers such as 'http.header.secure.x.content.type.options', 'http.header.secure.x.xss.protection', 'http.header.secure.x.content.type.options' by...
Unable to Cancel Shutdown Event
Issue After scheduling a shutdown event, and trying to cancel it, you see an error: "Error:Text verification failed."   When trying to cancel a shutdown event, I'm prompted to input a CAPTCHA, but there is no text box. Environment Liferay DXP Quarterly Release 2024.Q1.7+ Resolution To...
A simple example and key factors to check when testing custom OAuth 2.0 applications
Issue You have created an OAuth 2.0 application and would like to set up the minimum configuration to be able to test it. This article provides a simple example that could be adapted to your needs. Environment Liferay DXP 7.3, 7.4, Quarterly Releases Oauth 2 Custom App 'Client Secret...
OpenID Connect Client Secret field must be filled
Issue I configured an OpenID Connect Provider Connection. When I try to login using the OpenID  Connect Client Name, I get an internal server error. In logs, a java exception is thrown: WARN [http -nio-8080-exec-2][PortalImp1:6018] The client secret must not be null...
Session lost on page redirect using POST method when request header is SameSite=LAX
Issue The problem is happening when using POST method to receive data from another portal on a different domain, which is considered unsafe when request header is SameSite=LAX, that because if this header is not declared (as in our portal) then by default the browser is setting its value...
Is it possible to add additional columns to the CSV Log Message Formatter system setting?
Issue While looking into configuring CSV Log Auditing for an environment, our team noticed that the CSV Log Message Formatter system setting (within System Settings > Audit) has +/- buttons to add/remove columns. Is it possible to add additional columns to the auditing output, such as a...
LDAP Related Queries
Issue If the password is changed in the Active Directory, the user will still be able to log in to DXP? If we delete the user from Active Directory, the user will still be able to log in to DXP? How to import/ export the users from LDAP Directory to Liferay DB and vice versa. How users...
Will a curl vulnerability impact Liferay DXP?
Issue There have been security announcements that are deemed to be a high-risk vulnerability that is caused by curl 8.4.0.   Environment DXP 7.3 Resolution Liferay DXP does not use the libcurl library. In conclusion, Liferay DXP is not vulnerable to this type of curl security...
Is it Liferay vulnerable to the Log4j Vulnerability CVE-2019-17571?
Issue After search in the following folder:/tomcat/webapps/ROOT/WEB-INF/lib/log4j-extras.jar is notice that the log4 is available as part of product, so the Liferay is it vulnerable to this lib? Environment All environments Resolution By default Liferay don't use the SocketServer class...
Setting up Liferay as both IDP and SP (SAML)
Issue This article outlines how to configure two Liferay DXP bundles for SAML authentication with one functioning as the Service Provider (SP) and the second as the Identity Provider (IdP). Environment DXP 7.4 Resolution Note: The below steps are for testing purposes only. Extract two...
Updating React dependencies to later version
Issue As part of the security audit, the old version of the React might be vulnerable to attacks. Is there a way to hide the React version that Liferay displays? Environment Liferay DXP 7.3 Resolution At this point of writing this article, Liferay is using React version 16.12.0 and is in...
Nested Azure AD Groups are not assigned to Liferay groups
Issue You want to assign Liferay user groups via dynamic Azure AD groups when logging in with SAML. For this, certain rules of Azure AD groups are in place based on your needs. There might be an issue where nested groups are not associated correctly in case you use Graph API's memberOf...
Differentiate multiple Identity Provider when click on the Sign-in button
Issue How the user can login to specific IDP when multiple IDPs are configured on the portal? Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Resolution While using multiple IDPs, as soon as the user clicks on Sign-in button, it gives the list...
Is SELinux compatible with Liferay DXP 7.4?
Issue Is SELinux configuration compatible with Liferay DXP 7.4? Environment Liferay DXP 7.4 Running on one of the supported Operating Systems Resolution It is possible to set up SELinux to work with Liferay DXP 7.4 It is up to the customer to create the correct configuration that works...
CSP headers are not working on DXP-7.4
Issue Trying to attempt to work with the CSP feature, which is present in update 90 under feature flags, but users are still experiencing issues where they are unable to edit the page and it is continuously loading.  Navigate to Control Panel> Instance Setting> Features Flag -> Enabled...
High CPU utilisation while using script to login users continuously
Issue Facing high CPU utilization while logging-in high number of users per minute continuously (24x7) using username-password authentication, mostly while fetching data using some scripts. Environment Liferay DXP 7.0+ Resolution Password hashing is a costly operation, as it uses high...
How to implement a token system instead of using credentials to access remote services
Issue Trying to write a custom remote service using Liferay (ServiceImpl file), so which method may be used to authenticate using a token rather than credentials? Environment Liferay DXP 7.4 Resolution Liferay has Authentication Verifiers that authenticate remote invocations of Liferay...
Is There A Way To Verify ClamAV Integration With Liferay?
Issue We followed the instructions below to enable document virus scanning, but we do not see any way to confirm the ClamAV integration was successful or that file scans are occurring when new files are uploaded to Documents and Media. Is there a way to validate the ClamAV - Liferay...
ORA-12899 because OpenID access token is too large
Issue We store several things in our OpenID access token and when a user tries to log in, it fails because the token size exceeds the 3000-character limit specified in the ACCESSTOKEN column of the OPENIDCONNECTSESSION table Environment Liferay DXP 7.2+ Oracle database Resolution The...
AntiSamy sanitizer cleans some of the HTML tags and styles, how can we solve that?
Issue We turned on AntiSamy but it removes certain HTML code and CSS styles from our Web Content articles. Environment DXP 7.0+ Resolution Usage of HTML and CSS in Web Content article HTML fields Web content articles are not really intended to be used like this - they should not replace...
How is AntiSamy configured?
Issue We configured AntiSamy to santize Web Content articles. We would like to understand how AntiSamy works and what parts are expected to be removed in Web Content articles. Environment DXP 7.0+ Resolution In the article How to configure validation directives in AntiSamy, you can find...
Can Liferay Support SP and IDP initiated SAML Simultaneously?
Issue Our team is the design phase for authentication and we want to know if Liferay supports IDP and SP initiated SAML logins at the same time?  Environment DXP 7.4 Resolution No, a single instance should not be both an IDP and a SP. With Liferay, you are either an IDP or an SP. For...
Force Authentication in SAML requiring reauthentication in SP
Issue With SAML and Force Authentication enabled, I am required to reauthenticate requests from the SP Environment DXP 7.3, 7.4 Resolution This behavior is intended, but to avoid manual reauthentication in this scenario, disable the Force Authentication setting. Additional Information...
Captcha authentication via Headless API
Issue We have developed a Liferay fragment to collect user input via a custom-designed HTML form. This fragment interacts with custom Liferay objects through a Headless API using JS We have created a new role with the necessary permissions to access the Headless API endpoints for...
How long does the content remain in the CDN cache?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue What is the policy for cleaning and updating content stored on the CDN cache? Environment Liferay PaaS Resolution The CDN avaliable...
Is there a way identify When was the user Deactivated and by Whom?
Issue Is there a possible way to find out when was the exact date the Liferay user was deactivated and by whom? Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution Please run the attached Groovy script to get a full list of deactivated users: ListDeactivatedUsers.groovy Additional...
How can I access OpenIdConnectProvider classes in 7.4 U34+?
Issue The Liferay classes com.liferay.portal.security.sso.openid.connect.OpenIdConnectProvider; and com.liferay.portal.security.sso.openid.connect.OpenIdConnectProviderRegistry; were removed in U34+ by LPS-150092. How can I replace them in my customization?  Environment DXP 7.4...
How do we Toggle Requirement for Strangers to Verify their Email Address
Issue How do we toggle the requirement for strangers to verify their email address  Environment DXP 7.4 Resolution This setting can be toggled by going to: Instance Settings > User Authentication. From here, you can toggle the tickbox for "Require Strangers to Verify their Email...
CAPTCHA on the login page is too distorted to read
Issue The CAPTCHA generated on the login page is unreadable, even for humans. Environment Liferay DXP 7.2+ and Quarterly Releases, using the Simple CAPTCHA engine Resolution On DXP 2025.Q2 and later, go to Control Panel > Instance Settings > Security Tools > CAPTCHA. On earlier releases,...
Relay state exceeds 80 bytes
Issue After configuring SAML, I see Relay state exceeds 80 bytes WARN messages in the logs. How can I prevent the transmission of relay states larger than 80 bytes? Environment DXP 7.X Resolution This issue was resolved by LPS-76246. Please open a support ticket to request a hotfix...
CVE-2020-28885 and CVE-2020-28884
Issue We would like to know about Liferay's vulnerability to CVE-2020-28885 and CVE-2020-28884. The CVE's claim that it is a vulnerability for an Administrator User to be able to inject commands through the Gogo Shell module and Groovy scripts, respectively, to execute any OS command on...
Is Liferay vulnerable to CVE-2023-40371 and CVE 2023-38408?
Issue Is Liferay vulnerable to any of these vulnerabilities? Environment DXP 6.2+ Resolution No, Liferay is not vulnerable to any of these two. Neither CVE relates to any Liferay features, so they do not affect Liferay portal. Additional Information Please check...
How to verify the current Implementation version of log4j.jar file
Issue We would like to verify the implementation version of a log4j.jar file, either to verify the application of an update or to assess current vulnerability.  Environment DXP 7.3, DXP 7.4 Resolution You can find the current implementation version of log4j. jar file by:  1. Opening the...
Does Liferay support more than one SAML connection?
Issue Can Liferay connect to more than one Service or Identity Provider? Environment  DXP 7.0  DXP 7.1  DXP 7.2  DXP 7.3  DXP 7.4 Resolution Yes, Liferay does support more than one SAML or Identity Provider connection. Additional Information...
How can we set the requireSSL property?
Issue How can we enable the requireSSL attribute in Liferay? Environment Liferay DXP 7.0+ Resolution You can set that in your JDBC properties: jdbc.default.url=jdbc:mysql://host/db?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false&useSSL=true&requireSSL=true You can also...
Does having a script in the Analytics section qualify as a potential XSS vulnerability?
Issue We can put Javascript code in the Matomo (DXP 7.4) or Piwiki (DXP 7.0-7.3) field where the code can be executed on every other page Go to a Site's Configuration -> Site Settings -> Analytics Under the Matomo or Piwik fields, paste something like: "><img src=x onerror=alert(origin)>...
User is redirected to the 404 page instead of the login page when the session expires.
Issue The user is not prompted for login but to a 404 page when navigating in pages with restricted access if the user session expires or, if the user is not logged in and tries to access directly the url.  Environment DXP 7.4 Resolution We disable this feature, that is present in former...
What should be done when answers to the security questions are forgotten?
Issue My users keep forgetting their answers to the security questions is there a way to disable this? Also is there an alternative to the forgot password option? Environment DXP 7.4 Resolution Liferay already sends a password reset link when users click on Forgot Password, provided that...
0Auth2.0 issues new token every time even before token's expiration time
Issue The access_token expiration default is set to 10 minutes. When invoking the /oauth2/token before the previous token expires, a brand new token is issued instead of the original token.  Environment DXP 7.4 Resolution This behavior is expected. Unfortunately, Liferay cannot be...
Does having a script in a button fragment qualify as a potential XSS vulnerability?
Issue We can put a Javascript code in the Button fragment's URL field, so it can be executed when we click on the button, like javascript:alert(document.cookie) Can that be a vulnerability to Cross Site Scripting (XSS)? Environment Liferay DXP 7.3+ Resolution We allow adding scripts to...
Does having a script in a fragment qualify as a potential XSS vulnerability?
Issue We can put Javascript code in a fragment's HTML section where the code can be executed, when the fragment is opened, like <img src=x onerror="alert(document.cookie)"> Can that be a vulnerability to Cross Site Scripting (XSS)? Environment Liferay DXP 7.3+ Resolution This is the...
Unable to process SAML request
Issue Some users are unable to login via SAML Steps to reproduce: Login User for the first time The user gets logged-in successfully Now, log out and try logging in again Result: Throws unable to process SAML request error on UI, and Invalid NameId Policy error in the logs. Environment...
Liferay accepts only fully signed SAML responses. Can this requirement be turned off?
Issue From a security standpoint, it's a best practice to sign the Response. However, we can switch off this requirement in our other apps. I can understand that Liferay by default requires the complete signature of the response, but could this be turned off somehow? Environment DXP 7.3+...
Does CVE-2022-1471 affects DXP 7.4?
Issue Our scanner reported that the Liferay DXP image as well as the Elasticsearch image are vulnerable to CVE-2022-1471, which is about an issue with SnakeYaml. Could you please confirm if we have to address this vulnerability? Environment DXP 7.4 Resolution CVE-2022-1471 was addressed...
How to extract the okta authorization token for each user?
Issue Once users log in to Liferay, the user should get redirected to Okta. After successful authentication, Okta is supposed to return an authorization token for that specific user.  Concern: After successful Okta authentication through OIDC, users are not able to get the token from...
Unable to extend user session on Weblogic
Issue When I call Liferay.Session.extend(); from Liferay 7.4 running on Weblogic, the user session terminates. Environment DXP 7.4 Weblogic Resolution This behavior is resolved by LPS-190923. Please open a help center ticket requesting a hotfix at your update level., content:...
AuditEvent not saved after migrating from Portal 6.2 to DXP 7.4
Issue After migrating to DXP 7.4. If we use the portal normally, there aren't new entries in Audit_AuditEvents table. Environment Liferay DXP 7.4 Resolution Go to System Settings -> Audit -> Persistent Message Audit Message Processor. Enable this configuration and save.  , content:...

Exibindo 301 - 360 de 595 resultados.