Critical authentication bypass vulnerability found in Alfresco Community Edition (CVE-2019-14222)

Critical authentication bypass vulnerability found in Alfresco Community Edition (CVE-2019-14222)

An issue was discovered in Alfresco Community Edition versions 6.0 and lower. An unauthenticated, remote attacker could authenticate to Alfresco’s Solr Web Admin Interface. The vulnerability is due to the presence of a default private key that is present in all default installations. An attacker could exploit this vulnerability by using the extracted private key and bundling it into a PKCS12. A successful exploit could allow the attacker to gain information about the target system (e.g., OS type, system file locations, Java version, Solr version, etc.) as well as the ability to launch further attacks by leveraging the access to Alfresco’s Solr Web Admin Interface.

 

CVE-2019-14222: Alfresco Default Certificate

Alfresco Community instalations, versions 6.0 and lower, come installed with static SSL certificates.
These certificates are used in 2 ways:

  • Authenticating to the Solr Admin Web Interface
  • Encrypting Client-Server traffic

Authenticating to the Solr Admin Web Interface

The browser.p12, with password “alfresco”, file can be installed in a browser in order to authenticate via X509 Mutual Authentication Protocol.

Note: As and alternative, if the public certificates have been modified, but the private key was kept the same, one can use the alfresco.rsa private key in burp in order to forcefully authenticate using this private key.

STEPS:

  1. Import browser.p12, with password “alfresco”, in your browser of choice (In this case Firefox).
  2. Navigate to URL “/solr4/” of a victim with Alfresco Community installed
  3. Use the imported certificate to authenticate to Solr

4. Get access to Alfresco’s Solr Web Admin Interface

 

Decrypting Client-Server traffic

By knowing the private key used by Alfresco to encrypt HTTP traffic, alfresco.rsa, an attacker may leverege it to launch:

  • Active Man-in-the-Middle Attacks using a valid certificate
  • Passive Decrytion (if non-Perfect Forwarding Secrecy (PFS) encryption ciphers are used)

Example Passive Decryption

  1. Capture/Obtain Client-Server traffic
  2. Decrypt the traffic using the alfresco.rsa private key

 

Reference :

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14222

https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2019-14222-Default%20Certificate-Alfresco%20Community

 

Common Vulnerabilityies and Exposures

Contact us to get started

CVE-2024-48889 : FORTINET FORTIMANAGER UP TO 6.4.14/7.0.12/7.2.7/7.4.4/7.6.0 FGFM REQUEST OS COMMAND INJECTION

CVE-2024-48889 : FORTINET FORTIMANAGER UP TO 6.4.14/7.0.12/7.2.7/7.4.4/7.6.0 FGFM REQUEST OS COMMAND INJECTION

Description An Improper Neutralization of Special Elements used in an OS Command (‘OS Command Injection’) vulnerability [CWE-78] in FortiManager version

CVE-2023-34990 : FORTINET FORTIWLM UP TO 8.5.4/8.6.5 WEB REQUEST PATH TRAVERSAL

CVE-2023-34990 : FORTINET FORTIWLM UP TO 8.5.4/8.6.5 WEB REQUEST PATH TRAVERSAL

Description A relative path traversal in Fortinet FortiWLM version 8.6.0 through 8.6.5 and 8.5.0 through 8.5.4 allows attacker to execute

CVE-2024-47104 : IBM I 7.4/7.5 PHYSICAL FILE SECURITY ATTRIBUTES PERMISSION ASSIGNMENT

CVE-2024-47104 : IBM I 7.4/7.5 PHYSICAL FILE SECURITY ATTRIBUTES PERMISSION ASSIGNMENT

Description IBM i 7.4 and 7.5 is vulnerable to an authenticated user gaining elevated privilege to a physical file. A