Repository navigation
Security Policy
Need architectural details on how ManifoldCF enforces document-level Access Control Lists (ACLs) and security trimming in search engines? See Document Security Model.
The Apache ManifoldCF PMC takes security seriously. If you discover a potential security issue in Apache ManifoldCF, please report it privately to the Apache Security Team at security@apache.org.
Please do not report security issues via public GitHub issues, Jira tickets, pull requests, or public mailing lists.
For details on the Apache Software Foundation vulnerability handling process, see the ASF Security Team documentation.
Security fixes are applied to the active development branch (trunk) and released in the latest 2.x release line. Users are encouraged to upgrade to the most recent 2.x release from Downloads.
Apache ManifoldCF is an enterprise content crawling and indexing framework composed of several web applications and connectors with distinct trust boundaries:
- Both the classic Crawler-UI (
/mcf-crawler-ui) and the Modern Admin Console (/ui/in the Spring Boot WAR) are authenticated administrative consoles for managing connections, authorities, mappers, jobs, reports, and crawl state. -
Operator responsibilities:
- Change the default
admin/admincredentials (org.apache.manifoldcf.login.nameandorg.apache.manifoldcf.login.passwordinproperties.xml) before deployment. - Deploy behind TLS (HTTPS) and restrict network access to authorized administrators.
- Change the default
-
In-scope protections:
- Authentication is required for all administrative views and actions.
- In the classic Crawler-UI, state-changing operations require HTTP
POSTand a valid per-session request token so cross-site forged requests from an administrator's browser are rejected even in firewalled deployments. - Session cookies are hardened (
HttpOnly,SameSite=Lax, 30-minute timeout).
- The REST APIs provide programmatic administrative access equivalent to the Crawler-UI.
-
Operator responsibilities:
- Configure strong API credentials (
org.apache.manifoldcf.apilogin.nameandorg.apache.manifoldcf.apilogin.password, which default to the UI login credentials if not set separately). - Deploy behind TLS and restrict network access to trusted automation and administrative clients.
- Configure strong API credentials (
-
In-scope protections:
- Authentication is required for all operational endpoints (via HTTP Basic Authentication, or
/json/LOGINsession in v1); empty credentials are rejected. - Only container liveness/readiness health endpoints (
/api/v2/health,/actuator/health) remain unauthenticated; OpenAPI specs (/api/v2/openapi), Swagger UI (/mcf-api-service/swagger-ui), and metrics require authentication. - Obfuscated connection parameters (such as downstream passwords and secrets) are masked in API read responses and Configuration-as-Code exports.
- Authentication is required for all operational endpoints (via HTTP Basic Authentication, or
- The Authority Service is designed as an internal backchannel queried by search-engine authorization plugins (such as Apache Solr, Elasticsearch, or OpenSearch) to retrieve access tokens for a user.
- By default,
/UserACLsdoes not enforce servlet-level authentication so search engines on a private network can query it directly. -
Operator responsibilities:
-
Network-restrict the Authority Service so that only trusted search-engine hosts can reach
/UserACLs, or enable container-level authentication (for example using theweb.xml.externaldeployment descriptor or an authenticating reverse proxy).
-
Network-restrict the Authority Service so that only trusted search-engine hosts can reach
-
In-scope protections:
- Even on internal networks, user identifiers passed to
/UserACLsare treated as untrusted data when constructing backend directory, HTTP, or database queries (for example, LDAP filters are escaped per RFC 4515).
- Even on internal networks, user identifiers passed to
- Repository, authority, transformation, notification, and output connectors communicate with external systems whose responses may be untrusted, compromised, or tampered with in transit.
-
In-scope protections:
- Connectors harden XML parsers against external entity resolution (XXE) and DTD processing, and escape external inputs used in query languages.
- Connector secrets stored via
ConfigParams.setObfuscatedParameter(...)use reversible obfuscation. -
Operator responsibilities:
- Built-in default obfuscation is intended only to avoid casual plaintext exposure and does not provide strong cryptographic encryption-at-rest unless a deployment-specific key and salt are configured via
org.apache.manifoldcf.obfuscation.passcodeandorg.apache.manifoldcf.obfuscation.salt(or theMCF_OBFUSCATION_PASSCODEandMCF_OBFUSCATION_SALTenvironment variables). - Protect access to
properties.xml, the ManifoldCF database, and host filesystem permissions accordingly.
- Built-in default obfuscation is intended only to avoid casual plaintext exposure and does not provide strong cryptographic encryption-at-rest unless a deployment-specific key and salt are configured via
- Replace default
admin/admincredentials inproperties.xmlfor both UI and API logins. - Configure deployment-specific
org.apache.manifoldcf.obfuscation.passcodeandorg.apache.manifoldcf.obfuscation.salt(or environment variables). - Terminate TLS (HTTPS) in front of administrative consoles and REST APIs.
- Isolate
/mcf-authority-service(/UserACLs) on a private search-engine network or place behind authenticating reverse-proxy/container auth. - Keep JDK 25 and Apache ManifoldCF updated to the latest 2.x release and verify release artifacts per Verifying Releases.
Apache ManifoldCF™ — Website · GitHub · Jira (CONNECTORS) · Mailing Lists · Security Policy · Apache License 2.0
Apache, Apache ManifoldCF, and the Apache feather logo are trademarks of The Apache Software Foundation.
- End-User Guide
- Included Connectors
- Repository Connectors
- Output Connectors
- Transformation Connectors
- Authority Connectors
- User Mapping Connectors
- Notification Connectors
- ManifoldCF SDK
- Developer Resources
- Writing Repository Connectors
- Writing Output Connectors
- Writing Authority Connectors
- Writing Mapping Connectors
- Writing Transformation Connectors