10 CVE-2023-46604
CISA Kev Catalog Exploit
The Java OpenWire protocol marshaller is vulnerable to Remote Code
Execution. This vulnerability may allow a remote attacker with network
access to either a Java-based OpenWire broker or client to run arbitrary
shell commands by manipulating serialized class types in the OpenWire
protocol to cause either the client or the broker (respectively) to
instantiate any class on the classpath.
Users are recommended to upgrade
both brokers and clients to version 5.15.16, 5.16.7, 5.17.6, or 5.18.3
which fixes this issue.
https://nvd.nist.gov/vuln/detail/CVE-2023-46604
Categories
CWE-502 : Deserialization of Untrusted Data
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. Marshaling and unmarshaling are effectively synonyms for serialization and deserialization, respectively. In Python, the "pickle" functionality is used to perform serialization and deserialization. Some PHP application researchers use this term when attacking unsafe use of the unserialize() function; but it is also used for CWE-915. Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.) If available, use the signing/sealing features of the programming language to assure that deserialized data has not been tainted. For example, a hash-based message authentication code (HMAC) could be used to ensure that data has not been modified. When deserializing data, populate a new object rather than just deserializing. The result is that the data flows through safe input validation and that the functions are safe. Explicitly define a final object() to prevent deserialization. Avoid having unnecessary types or gadgets (a sequence of instances and method invocations that can self-execute during the deserialization process, often found in libraries) available that can be leveraged for malicious ends. This limits the potential for unintended or unauthorized types and gadgets to be leveraged by the attacker. Add only acceptable classes to an allowlist. Note: new gadgets are constantly being discovered, so this alone is not a sufficient mitigation. Employ cryptography of the data or code for protection. However, it's important to note that it would still be client-side security. This is risky because if the client is compromised then the security implemented on the client (the cryptography) can be bypassed. Use an application firewall that can detect attacks against this weakness. It can be beneficial in cases in which the code cannot be fixed (because it is controlled by a third party), as an emergency prevention measure while more comprehensive software assurance measures are applied, or to provide defense in depth [REF-1481]. insecure deserialization in platform for managing AI/ML applications and models allows code execution via a crafted pickled object in a model file deserialization of untrusted YAML data in dashboard for data query and visualization of Elasticsearch data PHP object injection in WordPress plugin for AI-based SEO chain: bypass of untrusted deserialization issue (CWE-502) by using an assumed-trusted class (CWE-183) Deserialization issue in commonly-used Java library allows remote execution. Deserialization issue in commonly-used Java library allows remote execution. Use of PHP unserialize function on untrusted input allows attacker to modify application configuration. Use of PHP unserialize function on untrusted input in content management system might allow code execution. Use of PHP unserialize function on untrusted input in content management system allows code execution using a crafted cookie value. Content management system written in PHP allows unserialize of arbitrary objects, possibly allowing code execution. Python script allows local users to execute code via pickled data. Unsafe deserialization using pickle in a Python script. Web browser allows execution of native methods via a crafted string to a JavaScript function that deserializes the string.
References
134c704f-9b21-4f2e-91b3-4a467353bcc0
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-20... Third Party Advisory US Government Resource |
af854a3a-2127-422b-91ae-364da2661108 Exploit
| http://seclists.org/fulldisclosure/2024/Apr/18 Mailing List Third Party Advisory |
| https://activemq.apache.org/security-advisories.data/CVE-2023-46604-announcem... Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2023/11/msg00013.html Mailing List |
| https://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-... Exploit Third Party Advisory VDB Entry |
| https://security.netapp.com/advisory/ntap-20231110-0010/ Third Party Advisory |
| https://www.openwall.com/lists/oss-security/2023/10/27/5 Mailing List |
security@apache.org Exploit
| http://seclists.org/fulldisclosure/2024/Apr/18 Mailing List Third Party Advisory |
| https://activemq.apache.org/security-advisories.data/CVE-2023-46604-announcem... Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2023/11/msg00013.html Mailing List |
| https://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-... Exploit Third Party Advisory VDB Entry |
| https://security.netapp.com/advisory/ntap-20231110-0010/ Third Party Advisory |
| https://www.openwall.com/lists/oss-security/2023/10/27/5 Mailing List |
CPE
| cpe | start | end |
|---|---|---|
| Configuration 1 | ||
| cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:* | < 5.15.16 | |
| cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:* | >= 5.16.0 | < 5.16.7 |
| cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:* | >= 5.17.0 | < 5.17.6 |
| cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:* | >= 5.18.0 | < 5.18.3 |
| Configuration 2 | ||
| cpe:2.3:a:apache:activemq_legacy_openwire_module:*:*:*:*:*:*:*:* | < 5.15.16 | |
| cpe:2.3:a:apache:activemq_legacy_openwire_module:*:*:*:*:*:*:*:* | >= 5.16.0 | < 5.16.7 |
| cpe:2.3:a:apache:activemq_legacy_openwire_module:*:*:*:*:*:*:*:* | >= 5.17.0 | < 5.17.6 |
| cpe:2.3:a:apache:activemq_legacy_openwire_module:*:*:*:*:*:*:*:* | >= 5.18.0 | < 5.18.3 |
| Configuration 3 | ||
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | ||
| Configuration 4 | ||
| cpe:2.3:a:netapp:e-series_santricity_unified_manager:-:*:*:*:*:*:*:* | ||
| cpe:2.3:a:netapp:e-series_santricity_web_services_proxy:-:*:*:*:*:*:*:* | ||
| cpe:2.3:a:netapp:santricity_storage_plugin:-:*:*:*:*:vcenter:*:* | ||
REMEDIATION
EXPLOITS
Exploit-db.com
| id | description | date | |
|---|---|---|---|
| No known exploits | |||
POC Github
Other Nist (github, ...)
| Url |
|---|
| https://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-... |
| https://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-... |
CAPEC
Common Attack Pattern Enumerations and Classifications
| id | description | severity |
|---|---|---|
| 586 | Object Injection |
High |
Cybersecurity needs ?
Strengthen software security from the outset with our DevSecOps expertise
Integrate security right from the start of the software development cycle for more robust applications and greater customer confidence.
Our team of DevSecOps experts can help you secure your APIs, data pipelines, CI/CD chains, Docker containers and Kubernetes deployments.
