org.graylog2:graylog2-server@0.21.0-beta4

  • latest version

    7.2.2

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    27 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.graylog2:graylog2-server package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Server-side Request Forgery (SSRF)

    org.graylog2:graylog2-server is a log management platform.

    Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the outbound URL handling in HTTPJSONPathDataAdapter in graylog2-server/src/main/java/org/graylog2/lookup/adapters/HTTPJSONPathDataAdapter.java. An attacker can make the server fetch internal services by supplying an allowlisted endpoint that issues an HTTP redirect to an internal target. Graylog follows the redirect without re-checking the destination, so a user with lookup table or event notification permissions can cause the server to return internal responses that should not be reachable from that request path.

    How to fix Server-side Request Forgery (SSRF)?

    Upgrade org.graylog2:graylog2-server to version 7.2.0-alpha.2 or higher.

    [0,7.2.0-alpha.2)
    • H
    Improper Neutralization of Special Elements

    org.graylog2:graylog2-server is a log management platform.

    Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in its syslog key-value message parser, which handles the key-value format emitted by Fortigate devices. An attacker can overwrite fields in the parsed log record, or force the message to be discarded to evade logging, by embedding key-value delimiter characters in the syslog message they send. This requires the deployment to ingest key-value format syslog messages, such as Fortigate logs, and the attacker to be able to send or influence those messages.

    How to fix Improper Neutralization of Special Elements?

    Upgrade org.graylog2:graylog2-server to version 6.3.12, 7.0.7, 7.1.2 or higher.

    [,6.3.12)[7.0.0,7.0.7)[7.1.1,7.1.2)
    • M
    Missing Authorization

    org.graylog2:graylog2-server is a log management platform.

    Affected versions of this package are vulnerable to Missing Authorization via the duplicate handler in EventDefinitionsResource for the POST /events/definitions/{definitionId}/duplicate endpoint. An attacker can clone any event definition by sending a duplicate request for a target definitionId while holding only the general eventdefinitions:create permission. This lets an authenticated low-privilege user read private event definitions they are not allowed to access, exposing detection queries, aggregation thresholds, grouping fields, schedules, and notification bindings through the cloned definition.

    How to fix Missing Authorization?

    Upgrade org.graylog2:graylog2-server to version 7.0.11, 7.1.6 or higher.

    [,7.0.11)[7.1.1,7.1.6)
    • M
    Cross-site Scripting (XSS)

    org.graylog2:graylog2-server is a log management platform.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the plugins and API Browser. An attacker with the FILES_CREATE permission can upload and execute arbitrary Javascript, leading to unauthorized actions performed with the permissions of the logged-in user.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.graylog2:graylog2-server to version 6.2.0 or higher.

    [,6.2.0)
    • H
    Cross-site Scripting (XSS)

    org.graylog2:graylog2-server is a log management platform.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the Event Definition Remediation Step field. An attacker can obtain user session cookies by submitting an HTML form.

    Note:

    This is only exploitable if the attacker has a user account with permissions to create event definitions, and the victim must have permissions to view alerts. Additionally, an active Input capable of receiving form data must be present on the server.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.graylog2:graylog2-server to version 6.0.14, 6.1.10 or higher.

    [,6.0.14)[6.1.0,6.1.10)
    • M
    Insecure Randomness

    org.graylog2:graylog2-server is a log management platform.

    Affected versions of this package are vulnerable to Insecure Randomness such that an external attacker could inject forged DNS responses into a Graylog's lookup table cache. Graylog seems to bind a single socket for outgoing DNS queries. That socket is bound to a random port number which is not changed again.

    How to fix Insecure Randomness?

    Upgrade org.graylog2:graylog2-server to version 5.0.9, 5.1.3 or higher.

    [,5.0.9)[5.1.0,5.1.3)
    • M
    Directory Traversal

    org.graylog2:graylog2-server is a log management platform.

    Affected versions of this package are vulnerable to Directory Traversal. When starting Graylog with the JVM -cp classpath options, instead of using the default -jar for the bundled classes, the API REST endpoint /api-browser/.* would allow path traversal to allow reading files on the server's filesystem.

    For example, when starting graylog-server like:

    /usr/local/openjdk-8/bin/java -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:NewRatio=1 -XX:MaxMetaspaceSize=256m -server -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStackTraceInFastThrow -cp /usr/share/graylog:/usr/share/graylog/graylog.jar -Dlog4j.configurationFile=/usr/share/graylog/data/config/log4j2.xml -Djava.library.path=/usr/share/graylog/lib/sigar/ -Dgraylog2.installation_source=docker org.graylog2.bootstrap.Main server -f /usr/share/graylog/data/config/graylog.conf
    

    The use of -cp /usr/share/graylog:/usr/share/graylog/graylog.jar triggers the vulnerability.

    The check for .. elements in the resulting file path for documentation resources is performed too early in the resolution process. As a result, an attacker can craft a URL that can contain .. elements and thus read files the server process has access to.

    Note: This vulnerability does not apply to the standard installation methods.

    How to fix Directory Traversal?

    Upgrade org.graylog2:graylog2-server to version 4.0.0-beta.1 or higher.

    [0,4.0.0-beta.1)
    • H
    Improper Certificate Validation

    org.graylog2:graylog2-server is a log management platform.

    Affected versions of this package are vulnerable to Improper Certificate Validation. It accepts LDAP server certificates whose root certificate is not in any trust store. This presents a vulnerability for man-in-the-middle attacks.

    How to fix Improper Certificate Validation?

    Upgrade org.graylog2:graylog2-server to version 3.3.3 or higher.

    [0,3.3.3)
    • M
    Cross-site Scripting (XSS)

    org.graylog2:graylog2-server is an open source log management.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) attacks due to not escaping text in notifications.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.graylog2:graylog2-server to version 2.4.4 or higher.

    [,2.4.4)
    • M
    Cross-site Scripting (XSS)

    org.graylog2:graylog2-server is an open source log management.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) attacks due to unescaped text in dashboard names.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.graylog2:graylog2-server to version 2.4.4 or higher.

    [,2.4.4)