Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2018-2894 PoC — Oracle Fusion Middleware Oracle WebLogic Server组件安全漏洞

Source
Associated Vulnerability
Title:Oracle Fusion Middleware Oracle WebLogic Server组件安全漏洞 (CVE-2018-2894)
Description:Vulnerability in the Oracle WebLogic Server component of Oracle Fusion Middleware (subcomponent: WLS - Web Services). Supported versions that are affected are 12.1.3.0, 12.2.1.2 and 12.2.1.3. Easily exploitable vulnerability allows unauthenticated attacker with network access via HTTP to compromise Oracle WebLogic Server. Successful attacks of this vulnerability can result in takeover of Oracle WebLogic Server. CVSS 3.0 Base Score 9.8 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
Description
cve-2018-2894 不同别人的利用方法。
Readme
Weblogic任意文件上传漏洞(CVE-2018-2894)

最近大家都在说这个漏洞,大家都注意到config.do这里发生了问题,但是其实根据
https://mp.weixin.qq.com/s/y5JGmM-aNaHcs_6P9a-gRQ
这里的信息,begin.do也是有问题。少扯淡,下面给出具体利用方法:
问题就出现下下面这个页面。
![Alt text](./1532078065241.png)

上传时候,修改name的值就可以了

![Alt text](./1532078209496.png)







避免大家麻烦,给出来:
 /../../../../../../wlserver/server/lib/consoleapp/webapp/framework/skins/wlsconsole/images/
然后访问
 http://xx.xx.xx.xx:7001/console/framework/skins/wlsconsole/images/_222.jsp
 就可以访问到了。
 ![Alt text](./1532078563343.png)




我写了一个批量利用的python脚本,会上传cat.jsp,然后执行whoami

https://github.com/111ddea/cve-2018-2894.git


另外的利用config.do的方法可以看下面:
https://github.com/vulhub/vulhub/tree/master/weblogic/CVE-2018-2894
https://xz.aliyun.com/t/2458?from=timeline&isappinstalled=0
File Snapshot

[4.0K] /data/pocs/b87dde4168b6b3b17e32d624436d2ad7efe873ff ├── [189K] 1532078065241.png ├── [281K] 1532078209496.png ├── [110K] 1532078563343.png ├── [ 16K] cve-2018-2894.py ├── [1.0K] README.md └── [ 0] weblogic_ip1.txt 0 directories, 6 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →