Web_Design 板


LINE

※ 引述《luckdavid (茶米)》之铭言: : 标题: [问题]资安弱扫遇到的问题Same site scripting : 时间: Wed Dec 9 13:11:37 2015 : : 各位先进大家好,我遇到一个问题解不掉想请大家帮帮忙。 : 以下是弱扫报告: : Severity:Medium : Type:Configuration : Reported by module :Scripting (Subdomain_Takeover.script) : : Description:Tavis Ormandy reported a common DNS misconfiguration that can : result in a minor security issue with web applications. "It's a common : and sensible practice to install records of the form "localhost. : IN A 127.0.0.1" into nameserver configurations, bizarrely however, : administrators often mistakenly drop the trailing dot, introducing an : interesting variation of Cross-Site Scripting (XSS) I call Same-Site : Scripting. The missing dot indicates that the record is not fully qualified, : and thus queries of the form "localhost.example.com" are resolved. : While superficially this may appear to be harmless, it does in fact allow : an attacker to cheat the RFC2109 (HTTP State Management Mechanism) same : origin restrictions, and therefore hijack state management data." : : Impact:An attacker can cheat the RFC2109 (HTTP State Management Mechanism) : same origin restrictions, and therefore hijack state management data. : : Recommendation:It is advised that non-FQ localhost entries be removed from : nameserver configurations for domains that host websites that rely on HTTP : state management. : : 拜托了。。。 : : : -- :



※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 210.68.37.161
: ※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Web_Design/M.1449637901.A.6BA.html : 推 LPH66: DNS 设定, 有一个 A 记录 localhost 应在其後加一个点 12/09 15:42 : → LPH66: 不加的话攻击者可以用 localhost.example.com 来绕过 12/09 15:43 : → LPH66: example.com 上面的 XSS 限制 12/09 15:44 : → LPH66: 或者就乾脆把这条 A 记录给拿掉, 这样 localhost 这个名字 12/09 15:47 : → LPH66: 不经过 DNS 就不会有这个问题 12/09 15:48 : → threeus: 高手在人间 12/10 18:48 请问LPH大或各位先进: 我也遇到同样的问题,本身对unix系统不太熟,依L大的留言,改了 /etc/hosts档案 把 127.0.0.1 loopback localhost 这一行加#, 如下 # 127.0.0.1 loopback localhost 但扫完的结果还是一样, 请问还有那些DNS的设定须要修改? 感谢~ --



※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 111.70.210.111
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Web_Design/M.1469774330.A.812.html
1F:→ dinos: 是要改dns的zone file,不是改hosts 07/29 15:21
2F:→ dinos: 弱点扫描跟user client无关 07/29 15:21
3F:→ gigajan: 了解...所以是DNS server的问题,感谢d大.. 07/29 15:51
4F:→ gigajan: 我是扫web server,一直以为是 web server的问题.. 07/29 16:00







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:BuyTogether站内搜寻

TOP