Can be illegal to provide list of public proxies?

i mean badly configured machines of othe people allowing anyone to connect internet thru such proxy and thus having IP masked/replaced by proxy IP which visit websites on behalf of the real person.