Skip to content
Piergiorgio Lucidi edited this page Nov 26, 2026 · 1 revision

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.

Reporting a Vulnerability

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.

Supported Versions

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.

Security Model and Trust Boundaries

Apache ManifoldCF is an enterprise content crawling and indexing framework composed of several web applications and connectors with distinct trust boundaries:

1. Administrative Consoles (/mcf-crawler-ui and /ui/)

  • 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 / admin credentials (org.apache.manifoldcf.login.name and org.apache.manifoldcf.login.password in properties.xml) before deployment.
    • Deploy behind TLS (HTTPS) and restrict network access to authorized administrators.
  • In-scope protections:
    • Authentication is required for all administrative views and actions.
    • In the classic Crawler-UI, state-changing operations require HTTP POST and 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).

2. REST API Services (/mcf-api-service, /api/v2/*)

  • The REST APIs provide programmatic administrative access equivalent to the Crawler-UI.
  • Operator responsibilities:
    • Configure strong API credentials (org.apache.manifoldcf.apilogin.name and org.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.
  • In-scope protections:
    • Authentication is required for all operational endpoints (via HTTP Basic Authentication, or /json/LOGIN session 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.

3. Authority Service (/mcf-authority-service, /UserACLs)

  • 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, /UserACLs does 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 the web.xml.external deployment descriptor or an authenticating reverse proxy).
  • In-scope protections:
    • Even on internal networks, user identifiers passed to /UserACLs are treated as untrusted data when constructing backend directory, HTTP, or database queries (for example, LDAP filters are escaped per RFC 4515).

4. Connectors and External Data Sources

  • 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.

5. Credential Storage and Obfuscation

  • 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.passcode and org.apache.manifoldcf.obfuscation.salt (or the MCF_OBFUSCATION_PASSCODE and MCF_OBFUSCATION_SALT environment variables).
    • Protect access to properties.xml, the ManifoldCF database, and host filesystem permissions accordingly.

Production Hardening Checklist

  • Replace default admin / admin credentials in properties.xml for both UI and API logins.
  • Configure deployment-specific org.apache.manifoldcf.obfuscation.passcode and org.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.

Clone this wiki locally