• Andrew M. Kuchling's avatar
    [Bug #1473048] · 622f1441
    Andrew M. Kuchling yazdı
    SimpleXMLRPCServer and DocXMLRPCServer don't look at
    the path of the HTTP request at all; you can POST or
    GET from / or /RPC2 or /blahblahblah with the same results.
    Security scanners that look for /cgi-bin/phf will therefore report
    lots of vulnerabilities.
    
    Fix: add a .rpc_paths attribute to the SimpleXMLRPCServer class,
    and report a 404 error if the path isn't on the allowed list.
    
    Possibly-controversial aspect of this change: the default makes only
    '/' and '/RPC2' legal.  Maybe this will break people's applications
    (though I doubt it).  We could just set the default to an empty tuple,
    which would exactly match the current behaviour.
    622f1441
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
PCbuild8 Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...