File tree Expand file tree Collapse file tree
what-is-a-bug/libxml-cve-2023-28484 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- #! /bin/bash
2- export LD_LIBRARY_PATH=/challenge/lib:$LD_LIBRARY_PATH
1+ #! /bin/bash
2+ export LD_LIBRARY_PATH=/challenge/lib:$LD_LIBRARY_PATH
33exec /challenge/bin/parse_xsd " $@ "
Original file line number Diff line number Diff line change 11#! /bin/sh -e
22cat > /tmp/pass.xsd << 'EOF '
33<?xml version="1.0"?>
4-
5- <xs:schema xmlns:xs="pwn.college">;
4+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
65 <xs:complexType name="Hackers">
76 <xs:sequence/>
87 </xs:complexType>
9-
108 <xs:complexType name="Hello">
119 <xs:complexContent>
1210 <xs:extension base="Hackers">
1311 <xs:attribute name="bar" type="xs:int" use="optional"/>
1412 </xs:extension>
1513 </xs:complexContent>
1614 </xs:complexType>
17-
1815</xs:schema>
1916EOF
2017
21- /challenge/run /tmp/pass.xsd
22-
23-
18+ /challenge/run /tmp/pass.xsd
You can’t perform that action at this time.
0 commit comments