Skip to content

测试未找到结果 #122

@Awrrays

Description

@Awrrays

用大华智慧园区的代码测试了一下/publishing/publishing/material/file/video这个漏洞

使用tabby-vul-finder未找到

在neo4j查找也未找到

match (source:Method {IS_ENDPOINT: true, NAME0:"publishing.WEB-INF.classes.com.dahua.cardsolution.controller.publishing.MaterialController#addVideoFile"})
match (sink:Method {VUL: "FILE_WRITE", IS_SINK: true})
call tabby.algo.findPath(source, "-", sink, 10, false) yield path 
return path limit 1
Image

下一层调用也未找到

match (source:Method {NAME0:"com.dahua.cardsolution.service.publishing.impl.MaterialServiceImpl#addVideoFile"})
match (sink:Method {VUL: "FILE_WRITE", IS_SINK: true})
call tabby.algo.findPath(source, "-", sink, 10, false) yield path 
return path limit 1
Image

直到最后一层impl才能找到path

match (source:Method {NAME0:"com.dahua.cardsolution.service.publishing.impl.FileManageServiceImpl#sendFile"})
match (sink:Method {VUL: "FILE_WRITE", IS_SINK: true})
call tabby.algo.findPath(source, "-", sink, 10, false) yield path 
return path limit 1
Image

所以推测是从service找impl出现问题,但是tabby-vul-finder的结果中,有些链路是可以找到的,

-[CALL]-> com.dahua.face.business.service.person.IPersonInfoService#exportByZip -[ALIAS]-> com.dahua.face.business.service.person.impl.PersonInfoService#exportByZip

只是没有com.dahua.cardsolution.service.publishing.MaterialService -> com.dahua.cardsolution.service.publishing.impl.MaterialServiceImpl 和
com.dahua.cardsolution.service.publishing.FileManageService -> com.dahua.cardsolution.service.publishing.impl.FileManageServiceImpl

现在不知道是哪里的问题,是build时出错了吗

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions